Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 110.3 kB / 16.42 MB, free: 6.484 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.001215/0.001215, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002196/0.002196, allocations: 301 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9665/0.9665, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4644, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.186/0.6505, allocations: 161.5 MB / 0.9248 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.6535, allocations: 1.709 MB / 0.9264 GB, free: 68 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.6537, allocations: 11.88 kB / 0.9265 GB, free: 56 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.6544, allocations: 155 kB / 0.9266 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.6556, allocations: 0.5124 MB / 0.9271 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.6566, allocations: 430.5 kB / 0.9275 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007995/0.6574, allocations: 0.5654 MB / 0.9281 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.6577, allocations: 180.4 kB / 0.9282 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.6583, allocations: 318.8 kB / 0.9285 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.6585, allocations: 155.2 kB / 0.9287 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.6586, allocations: 12 kB / 0.9287 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.6596, allocations: 0.6937 MB / 0.9294 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.6597, allocations: 79.78 kB / 0.9295 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.6599, allocations: 119.3 kB / 0.9296 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.6607, allocations: 0.4972 MB / 0.9301 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.6607, allocations: 0 / 0.9301 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6607, allocations: 0 / 0.9301 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.6607, allocations: 0 / 0.9301 GB, free: 12.37 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008137/0.6615, allocations: 0.5838 MB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6616, allocations: 16.03 kB / 0.9306 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.6619, allocations: 63.56 kB / 0.9307 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.6624, allocations: 297.3 kB / 0.931 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6624, allocations: 12 kB / 0.931 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.6624, allocations: 16 kB / 0.931 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.6629, allocations: 192.7 kB / 0.9312 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.6629, allocations: 0 / 0.9312 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.6629, allocations: 8 kB / 0.9312 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6629, allocations: 4 kB / 0.9312 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.6633, allocations: 123.8 kB / 0.9313 GB, free: 10.96 MB / 0.7012 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.001014/0.6643, allocations: 0.7808 MB / 0.9321 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.6645, allocations: 86.53 kB / 0.9322 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.6647, allocations: 76.86 kB / 0.9322 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.665, allocations: 182.2 kB / 0.9324 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.665, allocations: 38.55 kB / 0.9325 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.665, allocations: 4 kB / 0.9325 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006612/0.6657, allocations: 221.1 kB / 0.9327 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.6658, allocations: 55.41 kB / 0.9327 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.666, allocations: 263 kB / 0.933 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.6661, allocations: 29.7 kB / 0.933 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6662, allocations: 151.9 kB / 0.9331 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.6662, allocations: 39.45 kB / 0.9332 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.6663, allocations: 25.72 kB / 0.9332 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.6665, allocations: 330.8 kB / 0.9335 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6666, allocations: 52.83 kB / 0.9336 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.6668, allocations: 93.09 kB / 0.9337 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.6671, allocations: 123.3 kB / 0.9338 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6671, allocations: 0 / 0.9338 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003641/0.6675, allocations: 161.3 kB / 0.9339 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6675, allocations: 8 kB / 0.9339 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.6675, allocations: 3.938 kB / 0.9339 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6675, allocations: 3.938 kB / 0.9339 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.6677, allocations: 23.92 kB / 0.934 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6677, allocations: 4 kB / 0.934 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.6679, allocations: 19.91 kB / 0.934 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.6679, allocations: 8 kB / 0.934 GB, free: 8 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002001/0.6681, allocations: 148.1 kB / 0.9341 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000154/0.6683, allocations: 89.11 kB / 0.9342 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002507/0.6685, allocations: 119.3 kB / 0.9343 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.6685, allocations: 4 kB / 0.9343 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003223/0.6689, allocations: 157.2 kB / 0.9345 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.6689, allocations: 8.75 kB / 0.9345 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/0.6689, allocations: 0 / 0.9345 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.6689, allocations: 0 / 0.9345 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.669, allocations: 24.27 kB / 0.9345 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.6691, allocations: 3.938 kB / 0.9345 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.6692, allocations: 19.92 kB / 0.9345 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.6693, allocations: 8 kB / 0.9346 GB, free: 7.391 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001101/0.6694, allocations: 184.7 kB / 0.9347 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.6694, allocations: 35.64 kB / 0.9348 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.6698, allocations: 155.3 kB / 0.9349 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.6698, allocations: 11.92 kB / 0.9349 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.6698, allocations: 0 / 0.9349 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.6699, allocations: 104.9 kB / 0.935 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.67, allocations: 4 kB / 0.935 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.6702, allocations: 11.98 kB / 0.935 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.6702, allocations: 7.984 kB / 0.935 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003824/0.6706, allocations: 216.8 kB / 0.9353 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004112/0.671, allocations: 326.4 kB / 0.9356 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001369/0.6712, allocations: 47.95 kB / 0.9356 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001768/0.6714, allocations: 197.9 kB / 0.9358 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of Backend: time 3.3e-07/0.6714, allocations: 288 / 0.9358 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.6725, allocations: 356.3 kB / 0.9361 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of SimCode: time 0.001106/0.6736, allocations: 0.9155 MB / 0.937 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of Templates: time 0.01062/0.6842, allocations: 5.89 MB / 0.9428 GB, free: 14.93 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)