Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004647/0.004647, allocations: 97.42 kB / 15.73 MB, free: 6.055 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.001106/0.001106, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 283.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9512/0.9512, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 95.86 kB / 0.6815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4663, allocations: 86.98 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002796/0.4691, allocations: 1.632 MB / 0.768 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.4711, allocations: 1.497 MB / 0.7695 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.769e-05/0.4712, allocations: 4 kB / 0.7695 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.4716, allocations: 47.77 kB / 0.7695 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.4718, allocations: 63.67 kB / 0.7696 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.4721, allocations: 97.81 kB / 0.7697 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.4724, allocations: 171.6 kB / 0.7698 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.4724, allocations: 4.234 kB / 0.7698 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.4726, allocations: 67.7 kB / 0.7699 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.4727, allocations: 63.81 kB / 0.77 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.4728, allocations: 12 kB / 0.77 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.4729, allocations: 63.97 kB / 0.77 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.473, allocations: 43.89 kB / 0.7701 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.4731, allocations: 59.59 kB / 0.7701 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.4734, allocations: 204.8 kB / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4735, allocations: 0 / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4735, allocations: 0 / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4735, allocations: 0 / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006576/0.4741, allocations: 470.4 kB / 0.7708 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4742, allocations: 12.03 kB / 0.7708 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.4743, allocations: 20.73 kB / 0.7708 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.4746, allocations: 272.9 kB / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4747, allocations: 8.375 kB / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.4747, allocations: 8.125 kB / 0.7711 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.4749, allocations: 111.3 kB / 0.7712 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.475, allocations: 4 kB / 0.7712 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.475, allocations: 4 kB / 0.7712 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.475, allocations: 0 / 0.7712 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.4752, allocations: 139.9 kB / 0.7713 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.4755, allocations: 233.5 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.4759, allocations: 174.5 kB / 0.7717 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.476, allocations: 56.78 kB / 0.7718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.476, allocations: 7.984 kB / 0.7718 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.4762, allocations: 115.3 kB / 0.7719 GB, free: 14.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.4762, allocations: 0 / 0.7719 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004884/0.4767, allocations: 228.1 kB / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.4768, allocations: 81.11 kB / 0.7722 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.477, allocations: 202.6 kB / 0.7724 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.477, allocations: 33.7 kB / 0.7724 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.4771, allocations: 108.1 kB / 0.7725 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.4771, allocations: 43.67 kB / 0.7725 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.4772, allocations: 33.7 kB / 0.7726 GB, free: 13.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4773, allocations: 330.8 kB / 0.7729 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4774, allocations: 51.97 kB / 0.7729 GB, free: 12.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.4776, allocations: 74.48 kB / 0.773 GB, free: 12.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.4778, allocations: 125.6 kB / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4778, allocations: 0 / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003128/0.4781, allocations: 197.5 kB / 0.7733 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4781, allocations: 6.5 kB / 0.7733 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4781, allocations: 4.047 kB / 0.7733 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4782, allocations: 7.938 kB / 0.7733 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4783, allocations: 27.98 kB / 0.7734 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4783, allocations: 4.062 kB / 0.7734 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.4784, allocations: 4 kB / 0.7734 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4784, allocations: 4 kB / 0.7734 GB, free: 12.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.0001167/0.4785, allocations: 148.1 kB / 0.7735 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.4785, allocations: 23.84 kB / 0.7735 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.4786, allocations: 21.53 kB / 0.7736 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4786, allocations: 0 / 0.7736 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4786, allocations: 4 kB / 0.7736 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4786, allocations: 7.984 kB / 0.7736 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.4788, allocations: 237.5 kB / 0.7738 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4788, allocations: 0 / 0.7738 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.4789, allocations: 16 kB / 0.7738 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4789, allocations: 0 / 0.7738 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4789, allocations: 11.98 kB / 0.7738 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4789, allocations: 0 / 0.7738 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.479, allocations: 3.938 kB / 0.7738 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.4793, allocations: 210.5 kB / 0.774 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.4793, allocations: 96.97 kB / 0.7741 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.4794, allocations: 8 kB / 0.7741 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.4794, allocations: 4 kB / 0.7741 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.4795, allocations: 15.98 kB / 0.7742 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.4795, allocations: 7.984 kB / 0.7742 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001251/0.4796, allocations: 152.2 kB / 0.7743 GB, free: 11.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4796, allocations: 0 / 0.7743 GB, free: 11.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002563/0.4799, allocations: 39.92 kB / 0.7743 GB, free: 11.42 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001017/0.4809, allocations: 458.4 kB / 0.7748 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.4812, allocations: 123.9 kB / 0.7749 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4812, allocations: 0 / 0.7749 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4814, allocations: 63.97 kB / 0.775 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.4816, allocations: 40.64 kB / 0.775 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.4822, allocations: 298.8 kB / 0.7753 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.4824, allocations: 0.7124 MB / 0.776 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.4826, allocations: 49.5 kB / 0.776 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.4826, allocations: 35.42 kB / 0.7761 GB, free: 9.773 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.4826, allocations: 0 / 0.7761 GB, free: 9.773 MB / 0.545 GB Notification: Performance of Templates: time 0.005537/0.4882, allocations: 2.523 MB / 0.7785 GB, free: 7.312 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)