Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001195/0.001195, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001321/0.001321, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8298/0.8298, allocations: 143 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.83 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4095, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5225/0.9321, allocations: 161.5 MB / 0.7534 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.935, allocations: 1.716 MB / 0.7551 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.9354, allocations: 9.312 kB / 0.7551 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.936, allocations: 163.7 kB / 0.7553 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.9373, allocations: 0.5163 MB / 0.7558 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.9385, allocations: 426 kB / 0.7562 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007828/0.9393, allocations: 0.5662 MB / 0.7567 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.9396, allocations: 173.7 kB / 0.7569 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.9402, allocations: 321 kB / 0.7572 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.9404, allocations: 153.5 kB / 0.7573 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.9405, allocations: 13.38 kB / 0.7574 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.9416, allocations: 0.6964 MB / 0.758 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.9418, allocations: 81.77 kB / 0.7581 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.9419, allocations: 115.5 kB / 0.7582 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000831/0.9427, allocations: 0.5016 MB / 0.7587 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9428, allocations: 4.547 kB / 0.7587 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9428, allocations: 0.625 kB / 0.7587 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9428, allocations: 1.203 kB / 0.7587 GB, free: 1.594 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.000911/0.9437, allocations: 0.575 MB / 0.7593 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.9438, allocations: 9.672 kB / 0.7593 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.9441, allocations: 62.3 kB / 0.7594 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.9446, allocations: 307.4 kB / 0.7596 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.9446, allocations: 15.67 kB / 0.7597 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.9447, allocations: 17.25 kB / 0.7597 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.945, allocations: 189.6 kB / 0.7599 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.9451, allocations: 0.9688 kB / 0.7599 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.9451, allocations: 9.25 kB / 0.7599 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9451, allocations: 3.688 kB / 0.7599 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.9454, allocations: 130.9 kB / 0.76 GB, free: 16.82 MB / 0.5919 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.001032/0.9464, allocations: 0.7789 MB / 0.7608 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.9467, allocations: 86.7 kB / 0.7608 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.9468, allocations: 76.53 kB / 0.7609 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.9471, allocations: 185.6 kB / 0.7611 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.9472, allocations: 44.38 kB / 0.7611 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.9472, allocations: 0 / 0.7611 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0008903/0.9481, allocations: 216.1 kB / 0.7613 GB, free: 16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.9481, allocations: 54.25 kB / 0.7614 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.9485, allocations: 265 kB / 0.7616 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.9486, allocations: 31.84 kB / 0.7617 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.9487, allocations: 141.8 kB / 0.7618 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.9487, allocations: 37.38 kB / 0.7618 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.9488, allocations: 32.3 kB / 0.7619 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.949, allocations: 334 kB / 0.7622 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.9491, allocations: 45.58 kB / 0.7622 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.9493, allocations: 97.91 kB / 0.7623 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.9496, allocations: 120.2 kB / 0.7624 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9496, allocations: 5.625 kB / 0.7624 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003438/0.9499, allocations: 159.9 kB / 0.7626 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.95, allocations: 7.219 kB / 0.7626 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.95, allocations: 0.6875 kB / 0.7626 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.95, allocations: 7.469 kB / 0.7626 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9501, allocations: 19.48 kB / 0.7626 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.9501, allocations: 4.281 kB / 0.7626 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.9503, allocations: 14.91 kB / 0.7627 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.9504, allocations: 7.938 kB / 0.7627 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002105/0.9506, allocations: 149 kB / 0.7628 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001761/0.9508, allocations: 90.89 kB / 0.7629 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002391/0.951, allocations: 123.7 kB / 0.763 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.951, allocations: 0.7812 kB / 0.763 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003506/0.9514, allocations: 159.4 kB / 0.7632 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.9514, allocations: 8.109 kB / 0.7632 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.9514, allocations: 1.312 kB / 0.7632 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.9514, allocations: 5.188 kB / 0.7632 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.9515, allocations: 21.03 kB / 0.7632 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.9516, allocations: 5.703 kB / 0.7632 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.9517, allocations: 31.25 kB / 0.7632 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.9518, allocations: 5.688 kB / 0.7632 GB, free: 15 MB / 0.5919 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.0001417/0.9519, allocations: 191.8 kB / 0.7634 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.952, allocations: 19.19 kB / 0.7634 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.9524, allocations: 164 kB / 0.7636 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9524, allocations: 2.562 kB / 0.7636 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9524, allocations: 1 kB / 0.7636 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9524, allocations: 1.062 kB / 0.7636 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.9535, allocations: 0.588 MB / 0.7642 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.9535, allocations: 5.281 kB / 0.7642 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.9536, allocations: 24.12 kB / 0.7642 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.9536, allocations: 2.375 kB / 0.7642 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.9536, allocations: 3.844 kB / 0.7642 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.9536, allocations: 6.656 kB / 0.7642 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9537, allocations: 5.656 kB / 0.7642 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.9541, allocations: 294.8 kB / 0.7645 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.9542, allocations: 114.9 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.9542, allocations: 6.688 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.9544, allocations: 18.41 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.9545, allocations: 15.33 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.9545, allocations: 4.719 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002293/0.9547, allocations: 196.1 kB / 0.7648 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9547, allocations: 1.094 kB / 0.7648 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005321/0.9553, allocations: 93.03 kB / 0.7649 GB, free: 14 MB / 0.5919 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.0004445/0.9557, allocations: 177.3 kB / 0.7651 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.9562, allocations: 169.3 kB / 0.7653 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9562, allocations: 0.6562 kB / 0.7653 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.9564, allocations: 64.08 kB / 0.7653 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.9571, allocations: 115.5 kB / 0.7654 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.9579, allocations: 438.5 kB / 0.7658 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.9584, allocations: 0.7554 MB / 0.7666 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.9586, allocations: 70.19 kB / 0.7667 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.9587, allocations: 20.12 kB / 0.7667 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.9587, allocations: 2.828 kB / 0.7667 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.009184/0.9679, allocations: 4.4 MB / 0.771 GB, free: 12.8 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)