Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000763/0.000763, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007654/0.0007654, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.556/0.556, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5554 GB, free: 1.23 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.542e-05, allocations: 3.406 kB / 0.5554 GB, free: 1.227 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01413/0.01415, allocations: 13.96 MB / 0.569 GB, free: 3.207 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.01805, allocations: 3.619 MB / 0.5726 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.01828, allocations: 31.75 kB / 0.5726 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.01872, allocations: 190.7 kB / 0.5728 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009462/0.01966, allocations: 0.7225 MB / 0.5735 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.02033, allocations: 0.501 MB / 0.574 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008991/0.02123, allocations: 1.098 MB / 0.575 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.02148, allocations: 229.6 kB / 0.5753 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.02211, allocations: 0.6737 MB / 0.5759 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.02229, allocations: 203.3 kB / 0.5761 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.02232, allocations: 16 kB / 0.5761 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.02275, allocations: 431 kB / 0.5765 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.02282, allocations: 71.62 kB / 0.5766 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.02291, allocations: 115.6 kB / 0.5767 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.02344, allocations: 0.5686 MB / 0.5773 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.02345, allocations: 4 kB / 0.5773 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.02345, allocations: 0 / 0.5773 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.02345, allocations: 0 / 0.5773 GB, free: 10.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006779/0.02413, allocations: 0.648 MB / 0.5779 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.02417, allocations: 12.56 kB / 0.5779 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.02423, allocations: 44.66 kB / 0.578 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.02478, allocations: 390.7 kB / 0.5783 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.02479, allocations: 16.27 kB / 0.5784 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.02482, allocations: 20 kB / 0.5784 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.02509, allocations: 204.9 kB / 0.5786 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.02509, allocations: 0 / 0.5786 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.02511, allocations: 12 kB / 0.5786 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.02512, allocations: 4 kB / 0.5786 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.0253, allocations: 127.9 kB / 0.5787 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.02593, allocations: 0.531 MB / 0.5792 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.0261, allocations: 110.6 kB / 0.5793 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.02618, allocations: 68.81 kB / 0.5794 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.02629, allocations: 35.91 kB / 0.5794 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.02631, allocations: 34.56 kB / 0.5795 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.02632, allocations: 4 kB / 0.5795 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0003346/0.02665, allocations: 217.2 kB / 0.5797 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.02668, allocations: 55.41 kB / 0.5797 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.02691, allocations: 321.7 kB / 0.58 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.02693, allocations: 29.7 kB / 0.5801 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.02704, allocations: 196.4 kB / 0.5802 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.02707, allocations: 43.64 kB / 0.5803 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.02712, allocations: 37.66 kB / 0.5803 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.02723, allocations: 346.8 kB / 0.5807 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.02732, allocations: 52.77 kB / 0.5807 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.02746, allocations: 246.4 kB / 0.5809 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.02761, allocations: 109.7 kB / 0.581 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.02761, allocations: 0 / 0.581 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002067/0.02782, allocations: 177.3 kB / 0.5812 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.02783, allocations: 9.656 kB / 0.5812 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.02784, allocations: 7.875 kB / 0.5812 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.02786, allocations: 4 kB / 0.5812 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.02795, allocations: 23.97 kB / 0.5813 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.02796, allocations: 7.984 kB / 0.5813 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.02803, allocations: 19.97 kB / 0.5813 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.02804, allocations: 4 kB / 0.5813 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000132/0.02818, allocations: 156.1 kB / 0.5814 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001344/0.02831, allocations: 238.5 kB / 0.5817 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001298/0.02844, allocations: 117.6 kB / 0.5818 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.9e-07/0.02844, allocations: 0 / 0.5818 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0001795/0.02862, allocations: 173.4 kB / 0.5819 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.02863, allocations: 4 kB / 0.5819 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.02863, allocations: 0 / 0.5819 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.02863, allocations: 3.938 kB / 0.582 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.02868, allocations: 31.92 kB / 0.582 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.82e-07/0.02868, allocations: 0 / 0.582 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.02874, allocations: 19.92 kB / 0.582 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.02875, allocations: 4 kB / 0.582 GB, free: 5.594 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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 8.282e-05/0.02883, allocations: 184.3 kB / 0.5822 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.02886, allocations: 35.77 kB / 0.5822 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.02916, allocations: 239.4 kB / 0.5824 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.02917, allocations: 8 kB / 0.5824 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.02917, allocations: 0 / 0.5824 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02918, allocations: 7.922 kB / 0.5825 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.02966, allocations: 0.5433 MB / 0.583 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.02966, allocations: 4.125 kB / 0.583 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.02972, allocations: 27.92 kB / 0.583 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.02972, allocations: 7.984 kB / 0.583 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.02973, allocations: 8.094 kB / 0.583 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.02973, allocations: 4 kB / 0.583 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02973, allocations: 0 / 0.583 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.02997, allocations: 319.2 kB / 0.5833 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.03002, allocations: 51.67 kB / 0.5834 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.03004, allocations: 4 kB / 0.5834 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.03011, allocations: 8 kB / 0.5834 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.03015, allocations: 15.97 kB / 0.5834 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.03016, allocations: 8 kB / 0.5834 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001343/0.03029, allocations: 227.2 kB / 0.5836 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.03029, allocations: 0 / 0.5836 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003036/0.0306, allocations: 151.6 kB / 0.5838 GB, free: 3.691 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002412/0.03084, allocations: 183 kB / 0.584 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.03111, allocations: 191.7 kB / 0.5841 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.03111, allocations: 0 / 0.5841 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/0.03121, allocations: 75.88 kB / 0.5842 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.03162, allocations: 130.1 kB / 0.5843 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.03229, allocations: 0.5946 MB / 0.5849 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.03241, allocations: 189.1 kB / 0.5851 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.03246, allocations: 32.5 kB / 0.5851 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.03246, allocations: 3.938 kB / 0.5851 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of Templates: time 0.00507/0.03753, allocations: 5.409 MB / 0.5904 GB, free: 12.9 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.694715517573059] Failed to read output from testmodel.py, exit status != 0: 0.043472448363900185 0.050579128 0.025487195 Calling exit ...