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.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.001027/0.001027, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001011/0.001011, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.642/0.642, allocations: 115 MB / 376 MB, free: 7.535 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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 1.203 kB / 482 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.83e-05, allocations: 7.188 kB / 482 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.008586/0.008614, allocations: 8.359 MB / 490.3 MB, free: 6.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.01261, allocations: 3.218 MB / 493.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004972/0.0131, allocations: 31.09 kB / 493.6 MB, free: 3.836 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.01352, allocations: 169.5 kB / 493.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008668/0.01438, allocations: 0.5199 MB / 494.3 MB, free: 3.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.01592, allocations: 0.9067 MB / 495.2 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.01732, allocations: 1.471 MB / 496.7 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005065/0.01783, allocations: 435.8 kB / 497.1 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008963/0.01873, allocations: 0.7539 MB / 497.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.01928, allocations: 449.2 kB / 498.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/0.01936, allocations: 55.19 kB / 498.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007919/0.02016, allocations: 452.3 kB / 498.8 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.02028, allocations: 176.8 kB / 498.9 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.02049, allocations: 250.2 kB / 499.2 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.02151, allocations: 0.8159 MB / 500 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.02151, allocations: 0 / 500 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02152, allocations: 0.9688 kB / 500 MB, free: 0.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.02154, allocations: 0 / 500 MB, free: 0.918 MB / 410.7 MB 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.001376/0.02291, allocations: 1.124 MB / 0.4894 GB, free: 112 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.02295, allocations: 9.75 kB / 0.4894 GB, free: 112 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.02406, allocations: 291.9 kB / 0.4897 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.02486, allocations: 478 kB / 0.4901 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.0249, allocations: 37.75 kB / 0.4902 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.02497, allocations: 48.47 kB / 0.4902 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.02585, allocations: 0.7245 MB / 0.4909 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.02586, allocations: 2.719 kB / 0.4909 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.0259, allocations: 21.34 kB / 0.4909 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.02592, allocations: 11.94 kB / 0.4909 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006438/0.02656, allocations: 474.2 kB / 0.4914 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.03036, allocations: 4.102 MB / 0.4954 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.03082, allocations: 276.1 kB / 0.4957 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.03106, allocations: 204 kB / 0.4959 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.03118, allocations: 31.34 kB / 0.4959 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.0312, allocations: 40.28 kB / 0.4959 GB, free: 11.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.766e-06/0.03121, allocations: 3.938 kB / 0.4959 GB, free: 11.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=38): time 0.002681/0.03389, allocations: 0.9725 MB / 0.4969 GB, free: 11.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.03392, allocations: 55.41 kB / 0.4969 GB, free: 11.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.0343, allocations: 0.5325 MB / 0.4975 GB, free: 10.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.03434, allocations: 39.23 kB / 0.4975 GB, free: 10.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.03453, allocations: 379.6 kB / 0.4979 GB, free: 10.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.03462, allocations: 144.5 kB / 0.498 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.03477, allocations: 124.5 kB / 0.4981 GB, free: 10.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.03492, allocations: 0.5451 MB / 0.4986 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.03513, allocations: 180.3 kB / 0.4988 GB, free: 9.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.03545, allocations: 461 kB / 0.4993 GB, free: 9.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/0.03621, allocations: 0.5672 MB / 0.4998 GB, free: 8.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.03621, allocations: 0 / 0.4998 GB, free: 8.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002152/0.03837, allocations: 0.9903 MB / 0.5008 GB, free: 7.656 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.03838, allocations: 8.562 kB / 0.5008 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.03839, allocations: 7.625 kB / 0.5008 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.03985, allocations: 365.5 kB / 0.5011 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.04018, allocations: 128.7 kB / 0.5013 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004985/0.04068, allocations: 0.8707 MB / 0.5021 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.04108, allocations: 72.27 kB / 0.5022 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.04113, allocations: 28.88 kB / 0.5022 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003219/0.04146, allocations: 306.3 kB / 0.5025 GB, free: 6.008 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003214/0.04178, allocations: 460.1 kB / 0.5029 GB, free: 5.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004678/0.04225, allocations: 0.5629 MB / 0.5035 GB, free: 4.875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.04225, allocations: 0.6875 kB / 0.5035 GB, free: 4.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0007109/0.04296, allocations: 0.6215 MB / 0.5041 GB, free: 4.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.04297, allocations: 8 kB / 0.5041 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.04298, allocations: 4 kB / 0.5041 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.04298, allocations: 9.938 kB / 0.5041 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.04337, allocations: 154.8 kB / 0.5043 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.04338, allocations: 12.78 kB / 0.5043 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.04368, allocations: 66.77 kB / 0.5043 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.04372, allocations: 29.2 kB / 0.5044 GB, free: 4.059 MB / 426.7 MB 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 (64): * Single equations (assignments): 63 * 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.0001845/0.04391, allocations: 301 kB / 0.5047 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.044, allocations: 79.62 kB / 0.5047 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.04605, allocations: 0.8792 MB / 0.5056 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.04606, allocations: 12.73 kB / 0.5056 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.04606, allocations: 0 / 0.5056 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.04607, allocations: 2.359 kB / 0.5056 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.0494, allocations: 1.509 MB / 0.5071 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.0494, allocations: 0.6562 kB / 0.5071 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.04962, allocations: 82.33 kB / 0.5072 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.05119, allocations: 339.3 kB / 0.5075 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.05122, allocations: 11.98 kB / 0.5075 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006619/0.05189, allocations: 0.882 MB / 0.5084 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.05189, allocations: 4 kB / 0.5084 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.05366, allocations: 0.9685 MB / 0.5093 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.05386, allocations: 127.4 kB / 0.5094 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.05392, allocations: 20 kB / 0.5094 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.05413, allocations: 23.98 kB / 0.5095 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.05419, allocations: 35.89 kB / 0.5095 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.05422, allocations: 19.98 kB / 0.5095 GB, free: 15.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.05443, allocations: 334.6 kB / 0.5098 GB, free: 14.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05443, allocations: 0 / 0.5098 GB, free: 14.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008798/0.05531, allocations: 379.2 kB / 0.5102 GB, free: 14.45 MB / 442.7 MB 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.0003314/0.05564, allocations: 218.7 kB / 0.5104 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008938/0.05653, allocations: 0.7841 MB / 0.5112 GB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.05654, allocations: 0 / 0.5112 GB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.05707, allocations: 299 kB / 0.5115 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.05771, allocations: 214.4 kB / 0.5117 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.05921, allocations: 1.084 MB / 0.5127 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.151e-05/0.0593, allocations: 140 kB / 0.5129 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.05973, allocations: 139.8 kB / 0.513 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.06017, allocations: 258 kB / 0.5132 GB, free: 11.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.06017, allocations: 0 / 0.5132 GB, free: 11.26 MB / 442.7 MB Notification: Performance of Templates: time 0.01913/0.0793, allocations: 16.32 MB / 0.5292 GB, free: 11.21 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.05202081380412]