Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.001511/0.001511, allocations: 119 kB / 19.69 MB, free: 2.199 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.001823/0.001823, allocations: 222.2 kB / 23.01 MB, free: 5.043 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 1.026/1.026, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] 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.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [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.002108/0.002108, allocations: 66.05 kB / 0.6417 GB, free: 9.863 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2195, allocations: 89.17 MB / 0.7288 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5928/0.8123, allocations: 157.5 MB / 0.8826 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.05/0.8623, allocations: 30.42 MB / 0.9123 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007248/0.8696, allocations: 198.2 kB / 0.9125 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004078/0.8737, allocations: 1.063 MB / 0.9136 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.8855, allocations: 3.32 MB / 0.9168 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007108/0.8926, allocations: 2.564 MB / 0.9193 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01038/0.903, allocations: 5.345 MB / 0.9245 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003797/0.9068, allocations: 1.831 MB / 0.9263 GB, free: 204 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007361/0.9141, allocations: 2.88 MB / 0.9291 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004665/0.9188, allocations: 1.996 MB / 0.9311 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0009501/0.9197, allocations: 212 kB / 0.9313 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/0.9232, allocations: 1.116 MB / 0.9324 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.9244, allocations: 0.5758 MB / 0.9329 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002678/0.927, allocations: 1.252 MB / 0.9342 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005068/0.9321, allocations: 3.307 MB / 0.9374 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9321, allocations: 0 / 0.9374 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9321, allocations: 0 / 0.9374 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.827e-05/0.9322, allocations: 0 / 0.9374 GB, free: 4.828 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005175/0.9373, allocations: 2.661 MB / 0.94 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.9374, allocations: 8.031 kB / 0.94 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.9379, allocations: 274.3 kB / 0.9403 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.9405, allocations: 1.406 MB / 0.9416 GB, free: 384 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/0.9406, allocations: 114.2 kB / 0.9417 GB, free: 268 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.9408, allocations: 140 kB / 0.9419 GB, free: 128 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.9429, allocations: 1.179 MB / 0.943 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.943, allocations: 4 kB / 0.943 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.9431, allocations: 48 kB / 0.9431 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.9431, allocations: 28 kB / 0.9431 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.9451, allocations: 1.044 MB / 0.9441 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.9561, allocations: 6.235 MB / 0.9502 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9571, allocations: 0.5446 MB / 0.9507 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.9577, allocations: 354.2 kB / 0.9511 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.9579, allocations: 68.42 kB / 0.9511 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.958, allocations: 35.06 kB / 0.9512 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001893/0.9599, allocations: 315.3 kB / 0.9515 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/0.9599, allocations: 0 / 0.9515 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.00241/0.9623, allocations: 1.167 MB / 0.9526 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.9623, allocations: 59.84 kB / 0.9527 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.9649, allocations: 1.837 MB / 0.9545 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.9651, allocations: 49.7 kB / 0.9545 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008921/0.966, allocations: 0.9155 MB / 0.9554 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.9662, allocations: 214.2 kB / 0.9556 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/0.9666, allocations: 298.6 kB / 0.9559 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.9668, allocations: 349.9 kB / 0.9562 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008334/0.9676, allocations: 449.9 kB / 0.9567 GB, free: 396 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.9688, allocations: 0.687 MB / 0.9573 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.9704, allocations: 0.9771 MB / 0.9583 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.9704, allocations: 0 / 0.9583 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002762/0.9732, allocations: 1.417 MB / 0.9597 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.9732, allocations: 11.94 kB / 0.9597 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.9732, allocations: 4 kB / 0.9597 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.9733, allocations: 11.98 kB / 0.9597 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.9746, allocations: 279.9 kB / 0.96 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.9746, allocations: 12 kB / 0.96 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.9761, allocations: 72.8 kB / 0.9601 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.9762, allocations: 59.95 kB / 0.9601 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001357/0.9775, allocations: 0.7056 MB / 0.9608 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/0.9785, allocations: 0.6606 MB / 0.9614 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001515/0.9801, allocations: 0.9185 MB / 0.9623 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/0.9801, allocations: 0 / 0.9623 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002581/0.9826, allocations: 1.359 MB / 0.9637 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.9827, allocations: 4 kB / 0.9637 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9827, allocations: 4 kB / 0.9637 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9827, allocations: 8 kB / 0.9637 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.9839, allocations: 279.5 kB / 0.9639 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.9839, allocations: 15.94 kB / 0.964 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.9855, allocations: 99.75 kB / 0.9641 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.9856, allocations: 55.95 kB / 0.9641 GB, free: 8.504 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0003571/0.986, allocations: 236 kB / 0.9643 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.9864, allocations: 202.6 kB / 0.9645 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.9886, allocations: 1.093 MB / 0.9656 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.9887, allocations: 11.94 kB / 0.9656 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9887, allocations: 0 / 0.9656 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.9887, allocations: 3.984 kB / 0.9656 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.9927, allocations: 2.4 MB / 0.968 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.9927, allocations: 7.938 kB / 0.968 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.9933, allocations: 136 kB / 0.9681 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.9933, allocations: 4 kB / 0.9681 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.9933, allocations: 23.94 kB / 0.9681 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.9933, allocations: 4 kB / 0.9681 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9934, allocations: 0 / 0.9681 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.9951, allocations: 1.082 MB / 0.9692 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/0.9958, allocations: 274.4 kB / 0.9694 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.996, allocations: 20 kB / 0.9695 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/0.9968, allocations: 36.05 kB / 0.9695 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.9969, allocations: 56.55 kB / 0.9696 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.997, allocations: 31.92 kB / 0.9696 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001756/0.9987, allocations: 1.207 MB / 0.9708 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9987, allocations: 0 / 0.9708 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002126/1.001, allocations: 0.8929 MB / 0.9716 GB, free: 0.6523 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006002/1.001, allocations: 329.5 kB / 0.9719 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002874/1.004, allocations: 1.505 MB / 0.9734 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.004, allocations: 0 / 0.9734 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/1.005, allocations: 376.8 kB / 0.9738 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/1.01, allocations: 1.076 MB / 0.9748 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.015, allocations: 2.986 MB / 0.9777 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.016, allocations: 1.389 MB / 0.9791 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001941/1.018, allocations: 397.5 kB / 0.9795 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/1.018, allocations: 155.4 kB / 0.9796 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/1.018, allocations: 8 kB / 0.9796 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of Templates: time 0.07554/1.094, allocations: 39.1 MB / 1.018 GB, free: 1.773 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.432512694969773] Failed to read output from testmodel.py, exit status != 0: 1.1040731309913099 1.121292975 0.18555046600000002 Calling exit ...