Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001651/0.001651, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 291.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9774/0.9774, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 92.28 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4634, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07486/0.5383, allocations: 76.8 MB / 0.8421 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.5659, allocations: 20.06 MB / 0.8617 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.5688, allocations: 79.56 kB / 0.8617 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.5718, allocations: 1.021 MB / 0.8627 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007911/0.5798, allocations: 2.99 MB / 0.8656 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005821/0.5856, allocations: 2.148 MB / 0.8677 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006723/0.5923, allocations: 5.173 MB / 0.8728 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.5948, allocations: 1.662 MB / 0.8744 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.5996, allocations: 2.14 MB / 0.8765 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.6022, allocations: 1.482 MB / 0.878 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005557/0.6028, allocations: 184 kB / 0.8781 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004998/0.6078, allocations: 1.958 MB / 0.88 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009657/0.6087, allocations: 482.1 kB / 0.8805 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.611, allocations: 1.096 MB / 0.8816 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005958/0.6169, allocations: 3.5 MB / 0.885 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6169, allocations: 0 / 0.885 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.465e-06/0.617, allocations: 4 kB / 0.885 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.985e-05/0.6171, allocations: 7.938 kB / 0.885 GB, free: 10.75 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005442/0.6225, allocations: 2.501 MB / 0.8874 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6225, allocations: 8.031 kB / 0.8875 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.6246, allocations: 405.1 kB / 0.8878 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.6285, allocations: 1.82 MB / 0.8896 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.6286, allocations: 94.42 kB / 0.8897 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.6288, allocations: 124 kB / 0.8898 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.6317, allocations: 1.427 MB / 0.8912 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.6317, allocations: 11.84 kB / 0.8912 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.6319, allocations: 55.94 kB / 0.8913 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.6319, allocations: 39.98 kB / 0.8913 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.6343, allocations: 1.066 MB / 0.8924 GB, free: 2.977 MB / 0.6544 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.009629/0.644, allocations: 7.864 MB / 0.9 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.6476, allocations: 0.9838 MB / 0.901 GB, free: 9.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/0.6485, allocations: 435.8 kB / 0.9014 GB, free: 9.074 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/0.6502, allocations: 1.86 MB / 0.9032 GB, free: 6.809 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.6514, allocations: 498.2 kB / 0.9037 GB, free: 6.312 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 2.815e-06/0.6514, allocations: 0 / 0.9037 GB, free: 6.312 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.00313/0.6545, allocations: 1.269 MB / 0.905 GB, free: 5.035 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.6546, allocations: 85.77 kB / 0.905 GB, free: 4.934 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.6568, allocations: 1.398 MB / 0.9064 GB, free: 3.527 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.513e-05/0.6569, allocations: 45.7 kB / 0.9064 GB, free: 3.477 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006758/0.6576, allocations: 0.8178 MB / 0.9072 GB, free: 2.648 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.6578, allocations: 303.8 kB / 0.9075 GB, free: 2.348 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.6582, allocations: 198.8 kB / 0.9077 GB, free: 2.145 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6583, allocations: 349.9 kB / 0.9081 GB, free: 1.797 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008577/0.6592, allocations: 369.9 kB / 0.9084 GB, free: 1.434 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.6602, allocations: 0.6675 MB / 0.9091 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.6622, allocations: 1.063 MB / 0.9101 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.6622, allocations: 0 / 0.9101 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002717/0.665, allocations: 1.242 MB / 0.9113 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.665, allocations: 12.03 kB / 0.9113 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.665, allocations: 12 kB / 0.9113 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.6651, allocations: 19.94 kB / 0.9114 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.666, allocations: 247.6 kB / 0.9116 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/0.6661, allocations: 19.94 kB / 0.9116 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.6673, allocations: 134.8 kB / 0.9117 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.6674, allocations: 55.98 kB / 0.9118 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.6687, allocations: 0.6353 MB / 0.9124 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/0.6697, allocations: 0.6675 MB / 0.9131 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001915/0.6716, allocations: 1.059 MB / 0.9141 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.6717, allocations: 4 kB / 0.9141 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002572/0.6742, allocations: 1.242 MB / 0.9153 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6743, allocations: 10.97 kB / 0.9153 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.6743, allocations: 12.16 kB / 0.9153 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6743, allocations: 12 kB / 0.9153 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/0.6753, allocations: 247.6 kB / 0.9156 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.6753, allocations: 24.09 kB / 0.9156 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.6764, allocations: 111.3 kB / 0.9157 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/0.6765, allocations: 55.97 kB / 0.9158 GB, free: 9.367 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002813/0.6768, allocations: 251.8 kB / 0.916 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.6772, allocations: 165.9 kB / 0.9162 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003013/0.6802, allocations: 1.464 MB / 0.9176 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/0.6823, allocations: 1.094 MB / 0.9187 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.6823, allocations: 0 / 0.9187 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.6829, allocations: 386.5 kB / 0.919 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.6832, allocations: 16 kB / 0.919 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009274/0.6842, allocations: 59.94 kB / 0.9191 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.6843, allocations: 72.84 kB / 0.9192 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00281/0.6871, allocations: 1.263 MB / 0.9204 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003525/0.6907, allocations: 1.988 MB / 0.9223 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009651/0.6917, allocations: 0.5348 MB / 0.9229 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001394/0.6931, allocations: 0.9397 MB / 0.9238 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of Backend: time 4.81e-07/0.6931, allocations: 0 / 0.9238 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006139/0.6992, allocations: 2.352 MB / 0.9261 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of SimCode: time 0.006578/0.7058, allocations: 3.791 MB / 0.9298 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of Templates: time 0.4257/1.132, allocations: 40.2 MB / 0.969 GB, free: 171.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)