Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",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.001691/0.001691, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 287 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 104.2 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1599, allocations: 89.14 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4925/0.6524, allocations: 161.3 MB / 0.8511 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.6552, allocations: 0.9609 MB / 0.8521 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.6556, allocations: 8.469 kB / 0.8521 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007795/0.6564, allocations: 156.4 kB / 0.8522 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.6585, allocations: 0.6355 MB / 0.8529 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.6591, allocations: 217.5 kB / 0.8531 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.6598, allocations: 0.5221 MB / 0.8536 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.6602, allocations: 173.5 kB / 0.8537 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.6606, allocations: 231.8 kB / 0.854 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.6609, allocations: 161.2 kB / 0.8541 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.6609, allocations: 13.03 kB / 0.8541 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.662, allocations: 0.5457 MB / 0.8547 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.6621, allocations: 76.05 kB / 0.8547 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.6622, allocations: 117.7 kB / 0.8548 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.663, allocations: 484.6 kB / 0.8553 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.6631, allocations: 6.5 kB / 0.8553 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6631, allocations: 0 / 0.8553 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.6631, allocations: 0 / 0.8553 GB, free: 15.79 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001535/0.6646, allocations: 0.5963 MB / 0.8559 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6647, allocations: 14.22 kB / 0.8559 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.6647, allocations: 47.95 kB / 0.856 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.6651, allocations: 54.16 kB / 0.856 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.6654, allocations: 284.6 kB / 0.8563 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6655, allocations: 12.08 kB / 0.8563 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.6655, allocations: 14.09 kB / 0.8563 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.666, allocations: 240.7 kB / 0.8565 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6661, allocations: 3.938 kB / 0.8565 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.6661, allocations: 7.031 kB / 0.8565 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.6661, allocations: 11.67 kB / 0.8566 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.6668, allocations: 255.8 kB / 0.8568 GB, free: 14.6 MB / 0.5919 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.001383/0.6682, allocations: 0.8382 MB / 0.8576 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.6685, allocations: 143 kB / 0.8578 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.6687, allocations: 106.7 kB / 0.8579 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.6691, allocations: 190.3 kB / 0.858 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6691, allocations: 36.59 kB / 0.8581 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.6691, allocations: 0 / 0.8581 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.000859/0.67, allocations: 309.6 kB / 0.8584 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.67, allocations: 51.41 kB / 0.8584 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.6703, allocations: 245.1 kB / 0.8586 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.6703, allocations: 25.7 kB / 0.8587 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.6704, allocations: 138.2 kB / 0.8588 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.6705, allocations: 43.2 kB / 0.8588 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.6706, allocations: 38.17 kB / 0.8589 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6707, allocations: 339.7 kB / 0.8592 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.6709, allocations: 63.23 kB / 0.8593 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.6712, allocations: 111.2 kB / 0.8594 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.6715, allocations: 163.5 kB / 0.8595 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6716, allocations: 2.312 kB / 0.8595 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004601/0.672, allocations: 219.2 kB / 0.8597 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.672, allocations: 8.625 kB / 0.8597 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6721, allocations: 6.75 kB / 0.8598 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.6721, allocations: 0 / 0.8598 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6723, allocations: 34.66 kB / 0.8598 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6723, allocations: 6.469 kB / 0.8598 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.6725, allocations: 25.02 kB / 0.8598 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.6725, allocations: 4.875 kB / 0.8598 GB, free: 12.19 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001375/0.6727, allocations: 140.7 kB / 0.86 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.6727, allocations: 26.25 kB / 0.86 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.6728, allocations: 33.61 kB / 0.86 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6728, allocations: 0 / 0.86 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6728, allocations: 3.938 kB / 0.86 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6728, allocations: 4 kB / 0.86 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.6739, allocations: 0.6708 MB / 0.8607 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6739, allocations: 3 kB / 0.8607 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.6741, allocations: 34.66 kB / 0.8607 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6741, allocations: 2.094 kB / 0.8607 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.6741, allocations: 2.875 kB / 0.8607 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.6742, allocations: 5.812 kB / 0.8607 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6742, allocations: 2.531 kB / 0.8607 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.6747, allocations: 358 kB / 0.8611 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.6748, allocations: 123.6 kB / 0.8612 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.6749, allocations: 6.688 kB / 0.8612 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.675, allocations: 9.109 kB / 0.8612 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.6751, allocations: 19.36 kB / 0.8612 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.6751, allocations: 2.781 kB / 0.8612 GB, free: 11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001666/0.6753, allocations: 180.6 kB / 0.8614 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6753, allocations: 0 / 0.8614 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003765/0.6757, allocations: 66.25 kB / 0.8615 GB, free: 10.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001086/0.6768, allocations: 0.9325 MB / 0.8624 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.6773, allocations: 180.2 kB / 0.8625 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6773, allocations: 6.688 kB / 0.8625 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.6775, allocations: 99.08 kB / 0.8626 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.6783, allocations: 124.9 kB / 0.8628 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.6815, allocations: 2.457 MB / 0.8652 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.6819, allocations: 0.7591 MB / 0.8659 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002391/0.6822, allocations: 61.03 kB / 0.866 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6823, allocations: 60.45 kB / 0.866 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.6823, allocations: 0 / 0.866 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.7115, allocations: 6.884 MB / 0.8727 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.586, allocations: 14.27 kB / 0.8728 GB, free: 3.668 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe_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_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)