Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.001443/0.001443, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.00199/0.00199, allocations: 212.4 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.9993/0.9993, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.1 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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 70.33 kB / 0.6415 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.216, allocations: 89.18 MB / 0.7286 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02383/0.2398, allocations: 19.38 MB / 0.7475 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008224/0.2481, allocations: 4.814 MB / 0.7523 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007204/0.2488, allocations: 27.75 kB / 0.7523 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000851/0.2496, allocations: 266 kB / 0.7525 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.2525, allocations: 1.057 MB / 0.7536 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.2541, allocations: 0.6437 MB / 0.7542 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.2562, allocations: 1.465 MB / 0.7556 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.2568, allocations: 408.8 kB / 0.756 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.2582, allocations: 0.7198 MB / 0.7567 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.2589, allocations: 0.4901 MB / 0.7572 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.259, allocations: 48 kB / 0.7572 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.2606, allocations: 0.5654 MB / 0.7578 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.2608, allocations: 163.3 kB / 0.7579 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.2612, allocations: 274.7 kB / 0.7582 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.2626, allocations: 0.9691 MB / 0.7592 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2626, allocations: 0 / 0.7592 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2626, allocations: 0 / 0.7592 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.2626, allocations: 0 / 0.7592 GB, free: 1.16 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002046/0.2647, allocations: 0.9747 MB / 0.7601 GB, free: 156 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2647, allocations: 8.031 kB / 0.7601 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.369/0.6337, allocations: 237.6 kB / 0.7603 GB, free: 37.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.635, allocations: 0.5118 MB / 0.7608 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.6351, allocations: 24.28 kB / 0.7609 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.6351, allocations: 32.72 kB / 0.7609 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.636, allocations: 386.6 kB / 0.7613 GB, free: 37.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.636, allocations: 3.844 kB / 0.7613 GB, free: 37.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.636, allocations: 12.59 kB / 0.7613 GB, free: 37.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.636, allocations: 5.344 kB / 0.7613 GB, free: 37.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.6368, allocations: 338.4 kB / 0.7616 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.639, allocations: 1.052 MB / 0.7626 GB, free: 36.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.6399, allocations: 352.5 kB / 0.763 GB, free: 36.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.6403, allocations: 167.4 kB / 0.7631 GB, free: 36.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.6405, allocations: 49.03 kB / 0.7632 GB, free: 36.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.6405, allocations: 37.5 kB / 0.7632 GB, free: 36.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 2.425e-06/0.6405, allocations: 0 / 0.7632 GB, free: 36.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001382/0.6419, allocations: 0.5081 MB / 0.7637 GB, free: 36.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.6419, allocations: 54.03 kB / 0.7638 GB, free: 36.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.6427, allocations: 0.5917 MB / 0.7643 GB, free: 36.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.6428, allocations: 33.41 kB / 0.7644 GB, free: 36.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.6429, allocations: 261.6 kB / 0.7646 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.643, allocations: 72.19 kB / 0.7647 GB, free: 36.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6432, allocations: 126.6 kB / 0.7648 GB, free: 36.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.6433, allocations: 359.6 kB / 0.7652 GB, free: 36.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.6439, allocations: 239 kB / 0.7654 GB, free: 36.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/0.6447, allocations: 0.5744 MB / 0.7659 GB, free: 35.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.6458, allocations: 444.1 kB / 0.7664 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6458, allocations: 7.344 kB / 0.7664 GB, free: 35.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00368/0.6495, allocations: 0.8166 MB / 0.7672 GB, free: 35.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6495, allocations: 8.406 kB / 0.7672 GB, free: 35.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.6495, allocations: 0 / 0.7672 GB, free: 35.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.6499, allocations: 109.5 kB / 0.7673 GB, free: 35.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.6506, allocations: 114.7 kB / 0.7674 GB, free: 35.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005675/0.6511, allocations: 0.6036 MB / 0.768 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009595/0.6521, allocations: 82.33 kB / 0.7681 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.6521, allocations: 25.47 kB / 0.7681 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007966/0.6529, allocations: 361.3 kB / 0.7684 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007635/0.6537, allocations: 0.5727 MB / 0.769 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001076/0.6548, allocations: 432.4 kB / 0.7694 GB, free: 34.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.6548, allocations: 0 / 0.7694 GB, free: 34.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001772/0.6566, allocations: 0.62 MB / 0.77 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6566, allocations: 5.094 kB / 0.77 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.6566, allocations: 0.9688 kB / 0.77 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.6566, allocations: 3.797 kB / 0.77 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.6573, allocations: 129.3 kB / 0.7701 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6574, allocations: 11.86 kB / 0.7701 GB, free: 34.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009798/0.6583, allocations: 95.06 kB / 0.7702 GB, free: 34.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.6584, allocations: 23.41 kB / 0.7703 GB, free: 34.39 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.6586, allocations: 196 kB / 0.7704 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6587, allocations: 55.52 kB / 0.7705 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.66, allocations: 484.8 kB / 0.771 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.66, allocations: 2.625 kB / 0.771 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.66, allocations: 1.281 kB / 0.771 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.66, allocations: 9.812 kB / 0.771 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.6625, allocations: 0.9874 MB / 0.7719 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6625, allocations: 2.625 kB / 0.7719 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.6642, allocations: 140.8 kB / 0.7721 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.6642, allocations: 3.062 kB / 0.7721 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.6642, allocations: 12.03 kB / 0.7721 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.6653, allocations: 0.688 MB / 0.7728 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6653, allocations: 4.953 kB / 0.7728 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.6664, allocations: 0.545 MB / 0.7733 GB, free: 33.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.6667, allocations: 92.92 kB / 0.7734 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6668, allocations: 7.844 kB / 0.7734 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.6674, allocations: 47.61 kB / 0.7734 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.6675, allocations: 19.31 kB / 0.7735 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.6675, allocations: 9.406 kB / 0.7735 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006956/0.6682, allocations: 418.4 kB / 0.7739 GB, free: 32.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6682, allocations: 0 / 0.7739 GB, free: 32.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001139/0.6694, allocations: 345.6 kB / 0.7742 GB, free: 32.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004888/0.6699, allocations: 253.8 kB / 0.7744 GB, free: 32.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002335/0.6722, allocations: 0.7425 MB / 0.7752 GB, free: 32.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6722, allocations: 1 kB / 0.7752 GB, free: 32.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.6741, allocations: 280.9 kB / 0.7754 GB, free: 32.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.6752, allocations: 192.1 kB / 0.7756 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.6769, allocations: 0.8878 MB / 0.7765 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.6772, allocations: 266.8 kB / 0.7767 GB, free: 31.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007357/0.6779, allocations: 163.8 kB / 0.7769 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.6781, allocations: 50.05 kB / 0.7769 GB, free: 31.74 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.6781, allocations: 0 / 0.7769 GB, free: 31.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.02675/0.7049, allocations: 15.71 MB / 0.7923 GB, free: 26.38 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.385626828297973] Failed to read output from testmodel.py, exit status != 0: 0.7139412127435207 0.729060757 0.46384404599999995 Calling exit ...