Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004376/0.004376, allocations: 105.3 kB / 15.74 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 184.1 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 281.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8636/0.8636, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 87.86 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3717, allocations: 86.97 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5452/0.9169, allocations: 214.1 MB / 0.9749 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.9279, allocations: 12.16 MB / 0.9868 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.9292, allocations: 44.16 kB / 0.9868 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.9303, allocations: 0.5096 MB / 0.9873 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.9343, allocations: 1.963 MB / 0.9893 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.9382, allocations: 1.931 MB / 0.9911 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002674/0.9408, allocations: 2.361 MB / 0.9935 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.9421, allocations: 1.233 MB / 0.9947 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.9432, allocations: 0.837 MB / 0.9955 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006215/0.9439, allocations: 0.6583 MB / 0.9961 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.944, allocations: 92.03 kB / 0.9962 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00421/0.9482, allocations: 2.712 MB / 0.9989 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.9486, allocations: 0.5388 MB / 0.9994 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.9493, allocations: 0.7383 MB / 1 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.9527, allocations: 3.153 MB / 1.003 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9528, allocations: 0.8438 kB / 1.003 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9528, allocations: 2.531 kB / 1.003 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.558e-05/0.9528, allocations: 0.9688 kB / 1.003 GB, free: 1.07 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001858/0.9547, allocations: 1.789 MB / 1.005 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.9547, allocations: 10.78 kB / 1.005 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.9549, allocations: 176.2 kB / 1.005 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.9564, allocations: 383.9 kB / 1.005 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.9578, allocations: 0.9718 MB / 1.006 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.9578, allocations: 78.16 kB / 1.006 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.9579, allocations: 105.3 kB / 1.007 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.9596, allocations: 1.536 MB / 1.008 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.9596, allocations: 3.094 kB / 1.008 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/0.9597, allocations: 48.5 kB / 1.008 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.9598, allocations: 58.45 kB / 1.008 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.9609, allocations: 1.019 MB / 1.009 GB, free: 15.29 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.9658, allocations: 5.866 MB / 1.015 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.9663, allocations: 318.4 kB / 1.015 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.9665, allocations: 246 kB / 1.015 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.9672, allocations: 0.7112 MB / 1.016 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9672, allocations: 42.67 kB / 1.016 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.9672, allocations: 0.8125 kB / 1.016 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001054/0.9683, allocations: 0.6792 MB / 1.017 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.9683, allocations: 141.6 kB / 1.017 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.9699, allocations: 1.683 MB / 1.019 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.9699, allocations: 31.95 kB / 1.019 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.9703, allocations: 0.5596 MB / 1.019 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.9704, allocations: 95 kB / 1.019 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.9705, allocations: 64.55 kB / 1.019 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.9706, allocations: 323 kB / 1.02 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.9707, allocations: 157.7 kB / 1.02 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.971, allocations: 269.7 kB / 1.02 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.9714, allocations: 406.9 kB / 1.02 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9714, allocations: 3.938 kB / 1.02 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005877/0.972, allocations: 0.5563 MB / 1.021 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.972, allocations: 12.53 kB / 1.021 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.972, allocations: 3.594 kB / 1.021 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.972, allocations: 5.25 kB / 1.021 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.9722, allocations: 53.33 kB / 1.021 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9723, allocations: 7.719 kB / 1.021 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.9727, allocations: 113.7 kB / 1.021 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.9728, allocations: 23.66 kB / 1.021 GB, free: 9.578 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003402/0.9731, allocations: 379.9 kB / 1.022 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.9733, allocations: 147 kB / 1.022 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.9738, allocations: 384.2 kB / 1.022 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.9738, allocations: 5.75 kB / 1.022 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.9738, allocations: 2.625 kB / 1.022 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9738, allocations: 0.875 kB / 1.022 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.9766, allocations: 2.522 MB / 1.025 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.9766, allocations: 8.625 kB / 1.025 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.9768, allocations: 50.58 kB / 1.025 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.9768, allocations: 8.875 kB / 1.025 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.9768, allocations: 12.47 kB / 1.025 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.9769, allocations: 13 kB / 1.025 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9769, allocations: 10.19 kB / 1.025 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.9775, allocations: 0.6324 MB / 1.025 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.9779, allocations: 301.9 kB / 1.026 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.9781, allocations: 18.27 kB / 1.026 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.9784, allocations: 8.188 kB / 1.026 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.9785, allocations: 42.39 kB / 1.026 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.9785, allocations: 18.16 kB / 1.026 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001191/0.9797, allocations: 1.225 MB / 1.027 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9797, allocations: 0 / 1.027 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008464/0.9805, allocations: 327.8 kB / 1.027 GB, free: 7.641 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/0.9825, allocations: 1.679 MB / 1.029 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.9829, allocations: 357.2 kB / 1.029 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9829, allocations: 3.938 kB / 1.029 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.9831, allocations: 161.1 kB / 1.029 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/0.9865, allocations: 0.92 MB / 1.03 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.9971, allocations: 10.53 MB / 1.04 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.9979, allocations: 1.206 MB / 1.042 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009009/0.9988, allocations: 294.5 kB / 1.042 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.9993, allocations: 458.8 kB / 1.042 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.9993, allocations: 4 kB / 1.042 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1377/1.137, allocations: 44.06 MB / 1.085 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.414/10.55, allocations: 12.56 kB / 1.085 GB, free: 8.512 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)