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.001014/0.001014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001095/0.001095, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 275.1 kB / 290.3 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.899/0.899, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 89.38 kB / 0.5948 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1662, allocations: 86.97 MB / 0.6797 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.591/0.7573, allocations: 159.1 MB / 0.8351 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.7592, allocations: 0.9574 MB / 0.836 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.7594, allocations: 7.875 kB / 0.836 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.76, allocations: 136.7 kB / 0.8362 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.7616, allocations: 0.602 MB / 0.8368 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.7621, allocations: 205.7 kB / 0.837 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.7628, allocations: 0.5193 MB / 0.8375 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.7631, allocations: 173.8 kB / 0.8376 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.7635, allocations: 235.7 kB / 0.8379 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.7637, allocations: 174.2 kB / 0.838 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.7638, allocations: 14.78 kB / 0.838 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/0.7647, allocations: 0.5623 MB / 0.8386 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.691e-05/0.7648, allocations: 80.23 kB / 0.8387 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.7649, allocations: 116.7 kB / 0.8388 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.7656, allocations: 0.5196 MB / 0.8393 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7656, allocations: 0 / 0.8393 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7656, allocations: 0 / 0.8393 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.7656, allocations: 0 / 0.8393 GB, free: 15.23 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.001347/0.767, allocations: 0.5962 MB / 0.8399 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.767, allocations: 17.66 kB / 0.8399 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.684e-05/0.7671, allocations: 53.05 kB / 0.8399 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.7674, allocations: 50.81 kB / 0.84 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.7677, allocations: 277.8 kB / 0.8402 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.7677, allocations: 10.02 kB / 0.8403 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.7677, allocations: 20.78 kB / 0.8403 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.7682, allocations: 241.9 kB / 0.8405 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7682, allocations: 0 / 0.8405 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.7683, allocations: 7.688 kB / 0.8405 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.7683, allocations: 12.25 kB / 0.8405 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.7689, allocations: 254.6 kB / 0.8408 GB, free: 14.46 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.001187/0.7701, allocations: 0.8344 MB / 0.8416 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.7704, allocations: 151.5 kB / 0.8417 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.7706, allocations: 111.6 kB / 0.8418 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.7709, allocations: 187.3 kB / 0.842 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.771, allocations: 31.81 kB / 0.842 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.771, allocations: 0 / 0.842 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008652/0.7719, allocations: 308.7 kB / 0.8423 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.7719, allocations: 54.16 kB / 0.8424 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.7722, allocations: 240.4 kB / 0.8426 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.7722, allocations: 34.33 kB / 0.8427 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7724, allocations: 129.5 kB / 0.8428 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.7724, allocations: 61 kB / 0.8428 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.7725, allocations: 34.78 kB / 0.8429 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7727, allocations: 334.4 kB / 0.8432 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.7729, allocations: 69.59 kB / 0.8433 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.7731, allocations: 100.7 kB / 0.8433 GB, free: 13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.7735, allocations: 169.9 kB / 0.8435 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7735, allocations: 3.938 kB / 0.8435 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004684/0.7739, allocations: 215.6 kB / 0.8437 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.774, allocations: 8.531 kB / 0.8437 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.774, allocations: 0.9688 kB / 0.8437 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.774, allocations: 2.25 kB / 0.8437 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.7742, allocations: 37.06 kB / 0.8438 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7742, allocations: 1.531 kB / 0.8438 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.7744, allocations: 22.42 kB / 0.8438 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.7745, allocations: 8.844 kB / 0.8438 GB, free: 12.91 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.0001527/0.7746, allocations: 148.2 kB / 0.8439 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.7747, allocations: 28 kB / 0.844 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.7748, allocations: 28.48 kB / 0.844 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7748, allocations: 7.781 kB / 0.844 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7748, allocations: 1.25 kB / 0.844 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.7748, allocations: 0 / 0.844 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.776, allocations: 0.6816 MB / 0.8447 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.776, allocations: 0 / 0.8447 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.7761, allocations: 35.91 kB / 0.8447 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.7761, allocations: 2.656 kB / 0.8447 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.7762, allocations: 2.656 kB / 0.8447 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.7762, allocations: 2.688 kB / 0.8447 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7762, allocations: 2.656 kB / 0.8447 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.7767, allocations: 356.6 kB / 0.8451 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.7768, allocations: 114.1 kB / 0.8452 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.7769, allocations: 7.531 kB / 0.8452 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.7771, allocations: 10.77 kB / 0.8452 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.7771, allocations: 19.8 kB / 0.8452 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.7772, allocations: 5 kB / 0.8452 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001644/0.7773, allocations: 180 kB / 0.8454 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.784e-06/0.7773, allocations: 1.5 kB / 0.8454 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003722/0.7777, allocations: 72.86 kB / 0.8454 GB, free: 11.71 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.001028/0.7788, allocations: 0.9301 MB / 0.8464 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004419/0.7792, allocations: 189.7 kB / 0.8465 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7792, allocations: 0 / 0.8465 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.7794, allocations: 93.83 kB / 0.8466 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.7802, allocations: 127.5 kB / 0.8467 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.7832, allocations: 2.517 MB / 0.8492 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.7835, allocations: 0.7533 MB / 0.8499 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002544/0.7838, allocations: 70.08 kB / 0.85 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.7839, allocations: 64.11 kB / 0.8501 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.7839, allocations: 0 / 0.8501 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.8126, allocations: 6.724 MB / 0.8566 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.8128, allocations: 265.7 kB / 0.8569 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.74, allocations: 0 / 0.8569 GB, free: 4.289 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)