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.0009997/0.0009997, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 291 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 103.1 kB / 0.5952 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1938, allocations: 86.97 MB / 0.6802 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.5669/0.7608, allocations: 161.5 MB / 0.8379 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.7636, allocations: 1.708 MB / 0.8396 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.7639, allocations: 10.88 kB / 0.8396 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.7646, allocations: 158.3 kB / 0.8397 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.7659, allocations: 0.5157 MB / 0.8402 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.767, allocations: 418.5 kB / 0.8406 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.7678, allocations: 0.5619 MB / 0.8412 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.7682, allocations: 177.3 kB / 0.8413 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.7688, allocations: 319.1 kB / 0.8416 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.769, allocations: 157 kB / 0.8418 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.7691, allocations: 12.44 kB / 0.8418 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.7703, allocations: 0.6914 MB / 0.8425 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.7704, allocations: 75.52 kB / 0.8425 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.7705, allocations: 122.4 kB / 0.8427 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007556/0.7713, allocations: 0.4934 MB / 0.8431 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7713, allocations: 1.469 kB / 0.8431 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7713, allocations: 0 / 0.8431 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7713, allocations: 0 / 0.8431 GB, free: 15.36 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008479/0.7722, allocations: 0.587 MB / 0.8437 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7722, allocations: 8.25 kB / 0.8437 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.7726, allocations: 55.69 kB / 0.8438 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.773, allocations: 291.2 kB / 0.8441 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.773, allocations: 10 kB / 0.8441 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.773, allocations: 18.44 kB / 0.8441 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.7734, allocations: 197.2 kB / 0.8443 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7734, allocations: 0 / 0.8443 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.7734, allocations: 4.688 kB / 0.8443 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7735, allocations: 4.125 kB / 0.8443 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.7738, allocations: 129.7 kB / 0.8444 GB, free: 14.45 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.00103/0.7748, allocations: 0.7855 MB / 0.8452 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.7751, allocations: 90.75 kB / 0.8453 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.7752, allocations: 73.38 kB / 0.8453 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.7756, allocations: 189.7 kB / 0.8455 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.7756, allocations: 35.88 kB / 0.8455 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.7757, allocations: 1.219 kB / 0.8455 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006968/0.7764, allocations: 224.8 kB / 0.8458 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.7764, allocations: 52.38 kB / 0.8458 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.7767, allocations: 268 kB / 0.8461 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.7767, allocations: 34.17 kB / 0.8461 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.7768, allocations: 144.4 kB / 0.8462 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.7769, allocations: 31.23 kB / 0.8463 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.7769, allocations: 33.06 kB / 0.8463 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.7771, allocations: 331.9 kB / 0.8466 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.7772, allocations: 47.11 kB / 0.8467 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.7774, allocations: 95.02 kB / 0.8468 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.7777, allocations: 118.5 kB / 0.8469 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7777, allocations: 1.094 kB / 0.8469 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003522/0.778, allocations: 161.2 kB / 0.847 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7781, allocations: 4.812 kB / 0.847 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.7781, allocations: 1.594 kB / 0.847 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7781, allocations: 5.594 kB / 0.847 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.7782, allocations: 26.3 kB / 0.8471 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.7782, allocations: 1.406 kB / 0.8471 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.7784, allocations: 20.92 kB / 0.8471 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.7785, allocations: 15.92 kB / 0.8471 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00021/0.7787, allocations: 145.8 kB / 0.8472 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001645/0.7788, allocations: 88.45 kB / 0.8473 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002413/0.7791, allocations: 124.5 kB / 0.8474 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.7791, allocations: 0 / 0.8474 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003137/0.7794, allocations: 154.5 kB / 0.8476 GB, free: 12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.7794, allocations: 7.625 kB / 0.8476 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7795, allocations: 6.797 kB / 0.8476 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.7795, allocations: 0 / 0.8476 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.7796, allocations: 21.86 kB / 0.8476 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.7796, allocations: 7.969 kB / 0.8476 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.7797, allocations: 23.86 kB / 0.8476 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.7798, allocations: 7.688 kB / 0.8477 GB, free: 11.97 MB / 0.5762 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.0001119/0.7799, allocations: 187.1 kB / 0.8478 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.7799, allocations: 22.06 kB / 0.8479 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.7803, allocations: 163.7 kB / 0.848 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7803, allocations: 6.375 kB / 0.848 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7803, allocations: 0 / 0.848 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7804, allocations: 0 / 0.848 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/0.7812, allocations: 0.5887 MB / 0.8486 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7813, allocations: 2.734 kB / 0.8486 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.7814, allocations: 27.97 kB / 0.8486 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7814, allocations: 2.656 kB / 0.8486 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.7814, allocations: 2.656 kB / 0.8486 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.7814, allocations: 6.625 kB / 0.8486 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7814, allocations: 2.656 kB / 0.8486 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.7818, allocations: 304.8 kB / 0.8489 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.7819, allocations: 113.8 kB / 0.849 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.782, allocations: 6.094 kB / 0.849 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.7822, allocations: 12.11 kB / 0.8491 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.7822, allocations: 14.73 kB / 0.8491 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7822, allocations: 5.156 kB / 0.8491 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001726/0.7824, allocations: 205.9 kB / 0.8493 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7824, allocations: 0 / 0.8493 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004825/0.7829, allocations: 94.75 kB / 0.8494 GB, free: 10.56 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 (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 Backend phase and start with SimCode phase: time 0.0003931/0.7833, allocations: 164.8 kB / 0.8495 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.7838, allocations: 171.1 kB / 0.8497 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7838, allocations: 6.875 kB / 0.8497 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.784, allocations: 62.08 kB / 0.8497 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.7847, allocations: 114.1 kB / 0.8499 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.7854, allocations: 441.8 kB / 0.8503 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.7857, allocations: 0.7576 MB / 0.851 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000205/0.7859, allocations: 68.95 kB / 0.8511 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.786, allocations: 18.25 kB / 0.8511 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of SimCode: time 1.483e-06/0.786, allocations: 0 / 0.8511 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of Templates: time 0.009363/0.7954, allocations: 4.389 MB / 0.8554 GB, free: 7.023 MB / 0.5762 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)