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.00158/0.00158, allocations: 106.4 kB / 16.41 MB, free: 6.492 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.001845/0.001845, allocations: 187 kB / 17.34 MB, free: 5.762 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002095, allocations: 294.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.2 MB / 0.499 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5436, allocations: 86.97 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003501/0.5472, allocations: 1.632 MB / 0.7687 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.5497, allocations: 1.493 MB / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.5499, allocations: 0 / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.5504, allocations: 55.73 kB / 0.7702 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.5507, allocations: 55.7 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.5511, allocations: 102.4 kB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.5514, allocations: 175.6 kB / 0.7705 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.325e-05/0.5514, allocations: 8.219 kB / 0.7705 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.5516, allocations: 63.75 kB / 0.7706 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.5518, allocations: 67.81 kB / 0.7706 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.5519, allocations: 12 kB / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.5521, allocations: 63.97 kB / 0.7707 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.5521, allocations: 39.91 kB / 0.7707 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.5522, allocations: 67.52 kB / 0.7708 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.5526, allocations: 195.1 kB / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5526, allocations: 0 / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5526, allocations: 0 / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.5527, allocations: 0 / 0.771 GB, free: 15.93 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.0007022/0.5534, allocations: 465.2 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5534, allocations: 16.03 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.916e-05/0.5535, allocations: 12.75 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.5539, allocations: 276.7 kB / 0.7717 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.554, allocations: 4.375 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.554, allocations: 8.125 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.5542, allocations: 115.3 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5543, allocations: 0 / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.5543, allocations: 4 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5543, allocations: 0 / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.5545, allocations: 147.8 kB / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.5548, allocations: 225.6 kB / 0.7722 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.5552, allocations: 170.6 kB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5553, allocations: 56.77 kB / 0.7724 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.5553, allocations: 8 kB / 0.7724 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.5555, allocations: 119.3 kB / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.5556, allocations: 0 / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004993/0.5561, allocations: 213.5 kB / 0.7727 GB, free: 13.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.5561, allocations: 85.09 kB / 0.7728 GB, free: 13.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.5564, allocations: 198.6 kB / 0.773 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.5564, allocations: 37.64 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.5565, allocations: 116.1 kB / 0.7732 GB, free: 13.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.5565, allocations: 47.36 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.5566, allocations: 29.72 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5567, allocations: 330.8 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.5568, allocations: 47.98 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.557, allocations: 74.48 kB / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.5572, allocations: 131.3 kB / 0.7738 GB, free: 12.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5572, allocations: 0 / 0.7738 GB, free: 12.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003262/0.5575, allocations: 197.3 kB / 0.774 GB, free: 12.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5576, allocations: 4 kB / 0.774 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5576, allocations: 4 kB / 0.774 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5576, allocations: 4 kB / 0.774 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5577, allocations: 23.98 kB / 0.774 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5577, allocations: 0 / 0.774 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.5578, allocations: 8.031 kB / 0.774 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.5578, allocations: 15.92 kB / 0.774 GB, free: 12.55 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.0001323/0.558, allocations: 144.1 kB / 0.7742 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.558, allocations: 15.81 kB / 0.7742 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.5581, allocations: 29.5 kB / 0.7742 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5581, allocations: 0 / 0.7742 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5581, allocations: 0 / 0.7742 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5581, allocations: 4 kB / 0.7742 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.5583, allocations: 241.3 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5583, allocations: 4 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.5584, allocations: 23.98 kB / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5584, allocations: 0 / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.5584, allocations: 4 kB / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5584, allocations: 0 / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5584, allocations: 0 / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.5588, allocations: 215.5 kB / 0.7747 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.5589, allocations: 88.92 kB / 0.7748 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.5589, allocations: 15.98 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.559, allocations: 8 kB / 0.7748 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.559, allocations: 7.984 kB / 0.7748 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.559, allocations: 4 kB / 0.7748 GB, free: 11.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001326/0.5592, allocations: 156.2 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5592, allocations: 0 / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002753/0.5595, allocations: 36 kB / 0.775 GB, free: 11.48 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.00109/0.5606, allocations: 462 kB / 0.7754 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.5609, allocations: 125.5 kB / 0.7755 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5609, allocations: 0 / 0.7755 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.561, allocations: 59.92 kB / 0.7756 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.5613, allocations: 50.7 kB / 0.7756 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.5619, allocations: 324.7 kB / 0.776 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5623, allocations: 0.7202 MB / 0.7767 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.5623, allocations: 35.42 kB / 0.7767 GB, free: 9.844 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5623, allocations: 0 / 0.7767 GB, free: 9.844 MB / 0.545 GB Notification: Performance of Templates: time 0.005792/0.5681, allocations: 2.826 MB / 0.7795 GB, free: 7.062 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)