Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5124/0.5124, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 122.3 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.91 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.371, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5568/0.9279, allocations: 159.2 MB / 0.713 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.9307, allocations: 1.723 MB / 0.7147 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.9311, allocations: 9.969 kB / 0.7147 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.9316, allocations: 131.7 kB / 0.7148 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.9329, allocations: 495.1 kB / 0.7153 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.9341, allocations: 378.7 kB / 0.7156 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.9352, allocations: 0.7596 MB / 0.7164 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.9355, allocations: 159.2 kB / 0.7165 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006444/0.9362, allocations: 291.4 kB / 0.7168 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.9364, allocations: 166.1 kB / 0.717 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.9365, allocations: 8.125 kB / 0.717 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.9378, allocations: 0.7761 MB / 0.7177 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.938, allocations: 72.55 kB / 0.7178 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.9382, allocations: 112.6 kB / 0.7179 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.939, allocations: 0.5151 MB / 0.7184 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.939, allocations: 0 / 0.7184 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.939, allocations: 0 / 0.7184 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.939, allocations: 5.438 kB / 0.7184 GB, free: 1.59 MB / 0.5105 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.0009746/0.94, allocations: 0.5727 MB / 0.719 GB, free: 17.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.9401, allocations: 14.22 kB / 0.719 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.9404, allocations: 55.61 kB / 0.7191 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.9408, allocations: 289.8 kB / 0.7193 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.9408, allocations: 14.62 kB / 0.7193 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.9408, allocations: 13.25 kB / 0.7194 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.9412, allocations: 205.9 kB / 0.7196 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9412, allocations: 3.219 kB / 0.7196 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.9412, allocations: 7.375 kB / 0.7196 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9412, allocations: 3.406 kB / 0.7196 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.9415, allocations: 124.8 kB / 0.7197 GB, free: 16.81 MB / 0.5261 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.0009524/0.9425, allocations: 0.7854 MB / 0.7205 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.9427, allocations: 83.22 kB / 0.7205 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.9429, allocations: 80.69 kB / 0.7206 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.9432, allocations: 186.6 kB / 0.7208 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.9432, allocations: 35.97 kB / 0.7208 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.9432, allocations: 0 / 0.7208 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0006158/0.9439, allocations: 222.6 kB / 0.721 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.9439, allocations: 53.78 kB / 0.7211 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.9442, allocations: 269.7 kB / 0.7213 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.9442, allocations: 25.7 kB / 0.7214 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.9443, allocations: 146.1 kB / 0.7215 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.9443, allocations: 38.66 kB / 0.7215 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.9444, allocations: 35.27 kB / 0.7216 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9445, allocations: 336.8 kB / 0.7219 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.9446, allocations: 45.42 kB / 0.7219 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.9448, allocations: 94.39 kB / 0.722 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.9451, allocations: 126.3 kB / 0.7222 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9451, allocations: 2.031 kB / 0.7222 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003182/0.9454, allocations: 161.1 kB / 0.7223 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.9454, allocations: 5.062 kB / 0.7223 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9454, allocations: 5.812 kB / 0.7223 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9455, allocations: 3.375 kB / 0.7223 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.9456, allocations: 26.83 kB / 0.7223 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.9456, allocations: 0 / 0.7223 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.9458, allocations: 17.69 kB / 0.7224 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.9458, allocations: 8.344 kB / 0.7224 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001832/0.946, allocations: 149.6 kB / 0.7225 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001354/0.9461, allocations: 93.5 kB / 0.7226 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002134/0.9464, allocations: 119.6 kB / 0.7227 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.9464, allocations: 4 kB / 0.7227 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002824/0.9467, allocations: 153.2 kB / 0.7229 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.9467, allocations: 7.312 kB / 0.7229 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.9467, allocations: 3.562 kB / 0.7229 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-06/0.9467, allocations: 1.203 kB / 0.7229 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.9468, allocations: 22.28 kB / 0.7229 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.9468, allocations: 3.922 kB / 0.7229 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.947, allocations: 22.84 kB / 0.7229 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.947, allocations: 8.344 kB / 0.7229 GB, free: 14.96 MB / 0.5261 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.0001016/0.9471, allocations: 192.2 kB / 0.7231 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.9472, allocations: 21.84 kB / 0.7231 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.9475, allocations: 163.8 kB / 0.7233 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.9475, allocations: 0 / 0.7233 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9475, allocations: 4 kB / 0.7233 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9475, allocations: 1.203 kB / 0.7233 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.9483, allocations: 0.5854 MB / 0.7239 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9483, allocations: 192 / 0.7239 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.9484, allocations: 22.67 kB / 0.7239 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.9485, allocations: 8.281 kB / 0.7239 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.9485, allocations: 10.8 kB / 0.7239 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.9485, allocations: 6.312 kB / 0.7239 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9485, allocations: 0 / 0.7239 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.9492, allocations: 0.935 MB / 0.7248 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.9493, allocations: 109.9 kB / 0.7249 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.9494, allocations: 13.67 kB / 0.7249 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.9496, allocations: 17.36 kB / 0.725 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.9496, allocations: 14.52 kB / 0.725 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.9496, allocations: 8.406 kB / 0.725 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001715/0.9498, allocations: 196.2 kB / 0.7252 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9498, allocations: 0 / 0.7252 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000639/0.9505, allocations: 97.97 kB / 0.7253 GB, free: 13.35 MB / 0.5261 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.0003715/0.9508, allocations: 163.6 kB / 0.7254 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.9513, allocations: 169.8 kB / 0.7256 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.9513, allocations: 0 / 0.7256 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.9515, allocations: 59.64 kB / 0.7256 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.9523, allocations: 136.7 kB / 0.7258 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.9532, allocations: 0.6344 MB / 0.7264 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.9535, allocations: 0.7593 MB / 0.7271 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.9537, allocations: 66.59 kB / 0.7272 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.9538, allocations: 24.47 kB / 0.7272 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.9538, allocations: 0 / 0.7272 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.009175/0.963, allocations: 4.349 MB / 0.7315 GB, free: 11.79 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)