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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 194.2 kB / 16.13 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.178/1.178, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 278.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8666/0.8666, allocations: 169.2 MB / 0.4977 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 94.17 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1343, allocations: 86.98 MB / 0.6795 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4349/0.5693, allocations: 159.1 MB / 0.8349 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.571, allocations: 0.9622 MB / 0.8358 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.5712, allocations: 8.219 kB / 0.8358 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.5717, allocations: 133.3 kB / 0.8359 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.5731, allocations: 0.5944 MB / 0.8365 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.5736, allocations: 210.2 kB / 0.8367 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.5742, allocations: 0.7366 MB / 0.8374 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.5745, allocations: 154.2 kB / 0.8376 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.5749, allocations: 217 kB / 0.8378 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.5751, allocations: 167.7 kB / 0.838 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.5751, allocations: 10.88 kB / 0.838 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009003/0.576, allocations: 0.6404 MB / 0.8386 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.5761, allocations: 81.45 kB / 0.8387 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.5763, allocations: 105.9 kB / 0.8388 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.5769, allocations: 0.5058 MB / 0.8393 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5769, allocations: 0 / 0.8393 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5769, allocations: 0 / 0.8393 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.577, allocations: 1.062 kB / 0.8393 GB, free: 15.5 MB / 0.5762 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.001422/0.5784, allocations: 0.6003 MB / 0.8399 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5784, allocations: 8.938 kB / 0.8399 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.5785, allocations: 54.36 kB / 0.8399 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.5788, allocations: 57.86 kB / 0.84 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.5791, allocations: 279.2 kB / 0.8402 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.5791, allocations: 10.86 kB / 0.8402 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.5792, allocations: 18.81 kB / 0.8403 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.5796, allocations: 236.4 kB / 0.8405 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5796, allocations: 1.219 kB / 0.8405 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.5797, allocations: 4.531 kB / 0.8405 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.5797, allocations: 10.94 kB / 0.8405 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.5803, allocations: 260.6 kB / 0.8408 GB, free: 14.54 MB / 0.5762 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.001143/0.5815, allocations: 0.8382 MB / 0.8416 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5818, allocations: 144.2 kB / 0.8417 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.582, allocations: 116.1 kB / 0.8418 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.5822, allocations: 195 kB / 0.842 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5823, allocations: 32.06 kB / 0.842 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.5823, allocations: 0 / 0.842 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007834/0.5831, allocations: 308.1 kB / 0.8423 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.5831, allocations: 56.03 kB / 0.8424 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.5833, allocations: 238.6 kB / 0.8426 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.5833, allocations: 25.7 kB / 0.8426 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.5834, allocations: 134.6 kB / 0.8428 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.5835, allocations: 52.83 kB / 0.8428 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.5836, allocations: 32.89 kB / 0.8428 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5837, allocations: 338.6 kB / 0.8432 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.5838, allocations: 67.38 kB / 0.8432 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.584, allocations: 102.4 kB / 0.8433 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.5844, allocations: 177.3 kB / 0.8435 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5844, allocations: 1.875 kB / 0.8435 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004152/0.5848, allocations: 206.6 kB / 0.8437 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5848, allocations: 9.844 kB / 0.8437 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.5848, allocations: 0 / 0.8437 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5849, allocations: 1.094 kB / 0.8437 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.5851, allocations: 34.44 kB / 0.8437 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5851, allocations: 5.438 kB / 0.8438 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.5853, allocations: 25.08 kB / 0.8438 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.5853, allocations: 5.969 kB / 0.8438 GB, free: 12.62 MB / 0.5762 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.0001315/0.5854, allocations: 147.5 kB / 0.8439 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.5855, allocations: 28.97 kB / 0.8439 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.5856, allocations: 26.06 kB / 0.844 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5856, allocations: 1.375 kB / 0.844 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5856, allocations: 7.984 kB / 0.844 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5856, allocations: 1.5 kB / 0.844 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.5866, allocations: 0.6816 MB / 0.8446 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5866, allocations: 1.406 kB / 0.8447 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.5868, allocations: 32.33 kB / 0.8447 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.5868, allocations: 2.344 kB / 0.8447 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5868, allocations: 7.578 kB / 0.8447 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5868, allocations: 10.22 kB / 0.8447 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5868, allocations: 2.219 kB / 0.8447 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.5873, allocations: 360.2 kB / 0.845 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.5874, allocations: 109.3 kB / 0.8452 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.5875, allocations: 8.5 kB / 0.8452 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.5877, allocations: 9.578 kB / 0.8452 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.5877, allocations: 23.23 kB / 0.8452 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5878, allocations: 7.719 kB / 0.8452 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001532/0.5879, allocations: 182.3 kB / 0.8454 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5879, allocations: 1 kB / 0.8454 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003535/0.5883, allocations: 60.69 kB / 0.8454 GB, free: 11.34 MB / 0.5762 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.0009745/0.5893, allocations: 0.9305 MB / 0.8463 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.5897, allocations: 179.7 kB / 0.8465 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5897, allocations: 0 / 0.8465 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.5899, allocations: 96.66 kB / 0.8466 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/0.5906, allocations: 119.2 kB / 0.8467 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.5935, allocations: 2.516 MB / 0.8492 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.5938, allocations: 0.7576 MB / 0.8499 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.594, allocations: 59.16 kB / 0.85 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5942, allocations: 63.8 kB / 0.85 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.5942, allocations: 2.844 kB / 0.85 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.6331, allocations: 6.565 MB / 0.8564 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.6333, allocations: 258 kB / 0.8567 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.32, allocations: 3.125 kB / 0.8567 GB, free: 4.016 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)