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.001302/0.001302, allocations: 100.1 kB / 15.88 MB, free: 12 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.001369/0.001369, allocations: 198.6 kB / 16.79 MB, free: 6.809 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.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.9797/0.9797, allocations: 143 MB / 433.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.5141 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.174, allocations: 82.03 MB / 0.5942 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4824/0.6565, allocations: 159.3 MB / 0.7498 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.6595, allocations: 1.721 MB / 0.7515 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.66, allocations: 9.5 kB / 0.7515 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.6607, allocations: 132.5 kB / 0.7516 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.6621, allocations: 498.3 kB / 0.7521 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.6632, allocations: 373.7 kB / 0.7524 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009394/0.6642, allocations: 0.7507 MB / 0.7532 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.6645, allocations: 166.6 kB / 0.7533 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.6651, allocations: 298.7 kB / 0.7536 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.6653, allocations: 159.3 kB / 0.7538 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.6654, allocations: 8 kB / 0.7538 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.6667, allocations: 0.7755 MB / 0.7545 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.6668, allocations: 67.8 kB / 0.7546 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.667, allocations: 115.3 kB / 0.7547 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.6675, allocations: 359.2 kB / 0.7551 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6675, allocations: 2.25 kB / 0.7551 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6675, allocations: 8 kB / 0.7551 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.6675, allocations: 0 / 0.7551 GB, free: 9.172 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.0008621/0.6684, allocations: 0.5759 MB / 0.7556 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6684, allocations: 8.031 kB / 0.7556 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.6688, allocations: 63.58 kB / 0.7557 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.6692, allocations: 285.2 kB / 0.756 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.6692, allocations: 15.98 kB / 0.756 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.6692, allocations: 12 kB / 0.756 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.6696, allocations: 192.2 kB / 0.7562 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6696, allocations: 0 / 0.7562 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.6697, allocations: 8 kB / 0.7562 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.6697, allocations: 4 kB / 0.7562 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.67, allocations: 127.8 kB / 0.7563 GB, free: 7.793 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.001074/0.6711, allocations: 0.7852 MB / 0.7571 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.6713, allocations: 82.53 kB / 0.7572 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.6715, allocations: 76.86 kB / 0.7572 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.6719, allocations: 198.2 kB / 0.7574 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.672, allocations: 30.56 kB / 0.7575 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.672, allocations: 3.938 kB / 0.7575 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000707/0.6727, allocations: 217.2 kB / 0.7577 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.6727, allocations: 59.34 kB / 0.7577 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.673, allocations: 271 kB / 0.758 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.673, allocations: 29.7 kB / 0.758 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.6732, allocations: 140 kB / 0.7581 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.6732, allocations: 43.38 kB / 0.7582 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.6733, allocations: 29.7 kB / 0.7582 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6734, allocations: 330.8 kB / 0.7585 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.6736, allocations: 52.81 kB / 0.7586 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.6738, allocations: 89.61 kB / 0.7587 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.6741, allocations: 123.3 kB / 0.7588 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6741, allocations: 0 / 0.7588 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003364/0.6744, allocations: 157.7 kB / 0.7589 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6744, allocations: 8 kB / 0.7589 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6745, allocations: 0 / 0.7589 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.6745, allocations: 3.938 kB / 0.7589 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.6746, allocations: 27.97 kB / 0.759 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6746, allocations: 1 kB / 0.759 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.6748, allocations: 23.92 kB / 0.759 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.6749, allocations: 8 kB / 0.759 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002033/0.6751, allocations: 144.1 kB / 0.7591 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001608/0.6753, allocations: 93.03 kB / 0.7592 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002291/0.6755, allocations: 119.5 kB / 0.7593 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.6755, allocations: 4.688 kB / 0.7593 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003167/0.6758, allocations: 153.4 kB / 0.7595 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.6758, allocations: 4 kB / 0.7595 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.6759, allocations: 8.031 kB / 0.7595 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-06/0.6759, allocations: 0 / 0.7595 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.676, allocations: 21.8 kB / 0.7595 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.676, allocations: 3.938 kB / 0.7595 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.6762, allocations: 31.77 kB / 0.7596 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.6762, allocations: 11.92 kB / 0.7596 GB, free: 4.211 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.0001254/0.6763, allocations: 188.2 kB / 0.7597 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.6764, allocations: 27.72 kB / 0.7598 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.6768, allocations: 159.3 kB / 0.7599 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6768, allocations: 3.938 kB / 0.7599 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6768, allocations: 0 / 0.7599 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6768, allocations: 0 / 0.7599 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009224/0.6777, allocations: 0.5782 MB / 0.7605 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6777, allocations: 4 kB / 0.7605 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.6779, allocations: 27.91 kB / 0.7605 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.6779, allocations: 8.219 kB / 0.7605 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6779, allocations: 8 kB / 0.7605 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.6779, allocations: 0.8125 kB / 0.7605 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6779, allocations: 4 kB / 0.7605 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.6783, allocations: 289.1 kB / 0.7608 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/0.6784, allocations: 120.7 kB / 0.7609 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.6785, allocations: 4 kB / 0.7609 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.6787, allocations: 19.98 kB / 0.761 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.6787, allocations: 23.3 kB / 0.761 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.6787, allocations: 4 kB / 0.761 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000197/0.679, allocations: 197.9 kB / 0.7612 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.679, allocations: 0 / 0.7612 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004779/0.6794, allocations: 91.84 kB / 0.7613 GB, free: 2.332 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.0004473/0.6799, allocations: 168.5 kB / 0.7614 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.6804, allocations: 163.7 kB / 0.7616 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6804, allocations: 0 / 0.7616 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.6805, allocations: 60.41 kB / 0.7616 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.6814, allocations: 126.5 kB / 0.7618 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.6821, allocations: 0.5285 MB / 0.7623 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6824, allocations: 0.7599 MB / 0.763 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.6825, allocations: 19.44 kB / 0.763 GB, free: 460 kB / 0.5762 GB Notification: Performance of SimCode: time 4.2e-07/0.6825, allocations: 0 / 0.763 GB, free: 460 kB / 0.5762 GB Notification: Performance of Templates: time 0.006113/0.6886, allocations: 3.771 MB / 0.7667 GB, free: 12.75 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)