Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001251/0.001251, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.532/1.532, allocations: 225.6 MB / 244.8 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8732/0.8732, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 68.8 kB / 0.5912 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2071, allocations: 83.25 MB / 0.6725 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02296/0.2301, allocations: 19.49 MB / 0.6915 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008571/0.2387, allocations: 5.11 MB / 0.6965 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008832/0.2396, allocations: 19.88 kB / 0.6965 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009397/0.2405, allocations: 274 kB / 0.6968 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.2432, allocations: 0.7943 MB / 0.6975 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.2459, allocations: 0.8861 MB / 0.6984 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002519/0.2484, allocations: 1.529 MB / 0.6999 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.2491, allocations: 453.6 kB / 0.7003 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.2506, allocations: 0.6809 MB / 0.701 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.2514, allocations: 0.5368 MB / 0.7015 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/0.2515, allocations: 55.94 kB / 0.7016 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.2529, allocations: 0.7018 MB / 0.7023 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.2532, allocations: 159.3 kB / 0.7024 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.2536, allocations: 378.1 kB / 0.7028 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.2552, allocations: 1.082 MB / 0.7038 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2552, allocations: 4 kB / 0.7038 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2552, allocations: 0 / 0.7038 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.2552, allocations: 0 / 0.7038 GB, free: 3.621 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002118/0.2574, allocations: 1.109 MB / 0.7049 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2574, allocations: 8.031 kB / 0.7049 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.2576, allocations: 92.36 kB / 0.705 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.2585, allocations: 0.5263 MB / 0.7055 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.2586, allocations: 37 kB / 0.7056 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.2587, allocations: 48 kB / 0.7056 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2599, allocations: 0.6177 MB / 0.7062 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2599, allocations: 7.938 kB / 0.7062 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.2599, allocations: 20 kB / 0.7062 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.26, allocations: 12 kB / 0.7063 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2611, allocations: 495.4 kB / 0.7067 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.265, allocations: 3.189 MB / 0.7098 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.2658, allocations: 318.7 kB / 0.7101 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.2663, allocations: 208.7 kB / 0.7103 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/0.2667, allocations: 348.4 kB / 0.7107 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.2667, allocations: 34.56 kB / 0.7107 GB, free: 12.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 1.693e-06/0.2667, allocations: 0 / 0.7107 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.002245/0.269, allocations: 0.8152 MB / 0.7115 GB, free: 11.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.269, allocations: 55.41 kB / 0.7116 GB, free: 11.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007184/0.2697, allocations: 0.5704 MB / 0.7121 GB, free: 10.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.2698, allocations: 37.7 kB / 0.7122 GB, free: 10.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.27, allocations: 333 kB / 0.7125 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2702, allocations: 138.8 kB / 0.7126 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.2704, allocations: 130.3 kB / 0.7127 GB, free: 10 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.2706, allocations: 374.7 kB / 0.7131 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.2711, allocations: 219.3 kB / 0.7133 GB, free: 9.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/0.2718, allocations: 368 kB / 0.7136 GB, free: 8.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.273, allocations: 0.5666 MB / 0.7142 GB, free: 8.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.273, allocations: 4 kB / 0.7142 GB, free: 8.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001583/0.2745, allocations: 0.7191 MB / 0.7149 GB, free: 7.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2746, allocations: 14.91 kB / 0.7149 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2746, allocations: 4 kB / 0.7149 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.2752, allocations: 136.7 kB / 0.7151 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.2758, allocations: 139.9 kB / 0.7152 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006694/0.2765, allocations: 0.6147 MB / 0.7158 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.277, allocations: 87.47 kB / 0.7159 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.2771, allocations: 31.98 kB / 0.7159 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007199/0.2778, allocations: 349.4 kB / 0.7162 GB, free: 6.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006751/0.2785, allocations: 368 kB / 0.7166 GB, free: 5.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001122/0.2796, allocations: 0.5549 MB / 0.7171 GB, free: 5.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2796, allocations: 4 kB / 0.7171 GB, free: 5.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001433/0.281, allocations: 0.675 MB / 0.7178 GB, free: 4.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2811, allocations: 8 kB / 0.7178 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2811, allocations: 7.938 kB / 0.7178 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2811, allocations: 11.98 kB / 0.7178 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.2817, allocations: 160.3 kB / 0.718 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.2817, allocations: 19.92 kB / 0.718 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.2823, allocations: 63.73 kB / 0.718 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.2823, allocations: 31.98 kB / 0.7181 GB, free: 4.215 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.2826, allocations: 212.8 kB / 0.7183 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2827, allocations: 67.53 kB / 0.7183 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.2843, allocations: 0.6437 MB / 0.719 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.2843, allocations: 4 kB / 0.719 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2843, allocations: 7.938 kB / 0.719 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.2844, allocations: 3.984 kB / 0.719 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.2872, allocations: 1.351 MB / 0.7203 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.2872, allocations: 0 / 0.7203 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.2876, allocations: 83.97 kB / 0.7204 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003526/0.2879, allocations: 108.8 kB / 0.7205 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.2879, allocations: 8 kB / 0.7205 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007299/0.2887, allocations: 0.6303 MB / 0.7211 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2887, allocations: 8.094 kB / 0.7211 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2901, allocations: 0.7059 MB / 0.7218 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.2904, allocations: 196.5 kB / 0.722 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.24e-05/0.2905, allocations: 8 kB / 0.722 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.2909, allocations: 39.89 kB / 0.722 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.2909, allocations: 27.97 kB / 0.7221 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.291, allocations: 19.98 kB / 0.7221 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005775/0.2916, allocations: 391.1 kB / 0.7225 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2916, allocations: 0 / 0.7225 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0013/0.2929, allocations: 395 kB / 0.7228 GB, free: 15.18 MB / 0.5606 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007557/0.2936, allocations: 308.1 kB / 0.7231 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.2958, allocations: 0.8149 MB / 0.7239 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2958, allocations: 1.125 kB / 0.7239 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.2965, allocations: 259.9 kB / 0.7242 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2976, allocations: 231.6 kB / 0.7244 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.2998, allocations: 1.067 MB / 0.7254 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.3004, allocations: 0.9077 MB / 0.7263 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005629/0.301, allocations: 148.4 kB / 0.7265 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.3012, allocations: 63.41 kB / 0.7265 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/0.3012, allocations: 0 / 0.7265 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.0253/0.3265, allocations: 12.87 MB / 0.7391 GB, free: 14.61 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 480]