Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.0009402/0.0009402, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0008968/0.0008968, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9693/0.9693, allocations: 177.1 MB / 204.2 MB, free: 5.656 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.6143/0.6143, allocations: 115 MB / 375.7 MB, free: 7.66 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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.733e-05, allocations: 2.938 kB / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.007624/0.007651, allocations: 10.6 MB / 492.1 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.01278, allocations: 4.223 MB / 496.3 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.01342, allocations: 44.28 kB / 496.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.01393, allocations: 230.8 kB / 496.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.01534, allocations: 0.91 MB / 497.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.01707, allocations: 1.153 MB / 498.7 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.01991, allocations: 3.411 MB / 0.4903 GB, free: 15.29 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.0213, allocations: 1.219 MB / 0.4915 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.02379, allocations: 2.051 MB / 0.4935 GB, free: 13.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.02629, allocations: 1.774 MB / 0.4952 GB, free: 13.56 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.02659, allocations: 96.88 kB / 0.4953 GB, free: 13.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.02759, allocations: 0.6694 MB / 0.496 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.02784, allocations: 304.9 kB / 0.4963 GB, free: 12.78 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.02828, allocations: 463.5 kB / 0.4967 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.02975, allocations: 1.448 MB / 0.4981 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.02975, allocations: 0.6094 kB / 0.4981 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02975, allocations: 0 / 0.4981 GB, free: 11.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.02977, allocations: 0 / 0.4981 GB, free: 11.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001727/0.0315, allocations: 1.579 MB / 0.4997 GB, free: 9.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.03153, allocations: 8.031 kB / 0.4997 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005997/0.03213, allocations: 244.8 kB / 0.4999 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.03292, allocations: 0.7076 MB / 0.5006 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.03296, allocations: 65.31 kB / 0.5007 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.03308, allocations: 92 kB / 0.5008 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.03372, allocations: 0.5697 MB / 0.5013 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.03374, allocations: 4 kB / 0.5013 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.03378, allocations: 28 kB / 0.5013 GB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.03379, allocations: 12 kB / 0.5014 GB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.03422, allocations: 339.5 kB / 0.5017 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.037, allocations: 2.682 MB / 0.5043 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.03736, allocations: 229 kB / 0.5045 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.0375, allocations: 112.2 kB / 0.5046 GB, free: 4.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.954e-05/0.0376, allocations: 24.27 kB / 0.5046 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.03762, allocations: 41.67 kB / 0.5047 GB, free: 4.641 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.03763, allocations: 0 / 0.5047 GB, free: 4.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006831/0.03831, allocations: 466.5 kB / 0.5051 GB, free: 4.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.03834, allocations: 59.34 kB / 0.5052 GB, free: 4.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.0389, allocations: 0.7622 MB / 0.5059 GB, free: 3.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.377e-05/0.03898, allocations: 45.7 kB / 0.506 GB, free: 3.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.03928, allocations: 0.5276 MB / 0.5065 GB, free: 2.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.03935, allocations: 119 kB / 0.5066 GB, free: 2.613 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.03956, allocations: 208.3 kB / 0.5068 GB, free: 2.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.03967, allocations: 0.4965 MB / 0.5073 GB, free: 1.898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.03987, allocations: 139.2 kB / 0.5074 GB, free: 1.758 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.04088, allocations: 2.31 MB / 0.5097 GB, free: 14.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.04132, allocations: 383.3 kB / 0.51 GB, free: 14.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.04133, allocations: 7.875 kB / 0.51 GB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007375/0.04206, allocations: 0.5554 MB / 0.5106 GB, free: 13.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.04208, allocations: 8.188 kB / 0.5106 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.04209, allocations: 4 kB / 0.5106 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.04211, allocations: 4 kB / 0.5106 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/0.04285, allocations: 235.7 kB / 0.5108 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.04417, allocations: 4.486 MB / 0.5152 GB, free: 8.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.04559, allocations: 0.6558 MB / 0.5158 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.04564, allocations: 23.98 kB / 0.5159 GB, free: 8.262 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003267/0.04597, allocations: 272.1 kB / 0.5161 GB, free: 7.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/0.04714, allocations: 2.336 MB / 0.5184 GB, free: 4.984 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005409/0.04768, allocations: 409.4 kB / 0.5188 GB, free: 4.531 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.04768, allocations: 0 / 0.5188 GB, free: 4.531 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0009623/0.04864, allocations: 0.5553 MB / 0.5193 GB, free: 3.969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.04865, allocations: 8 kB / 0.5194 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.04866, allocations: 8.312 kB / 0.5194 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.04866, allocations: 4 kB / 0.5194 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.04918, allocations: 159.8 kB / 0.5195 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.04919, allocations: 8 kB / 0.5195 GB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/0.05191, allocations: 0.9135 MB / 0.5204 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.05197, allocations: 31.98 kB / 0.5204 GB, free: 2.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.05219, allocations: 308.5 kB / 0.5207 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.05232, allocations: 103.3 kB / 0.5208 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007732/0.05309, allocations: 464.1 kB / 0.5213 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.0531, allocations: 4 kB / 0.5213 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.05311, allocations: 3.984 kB / 0.5213 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.05311, allocations: 7.922 kB / 0.5213 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.05462, allocations: 1.096 MB / 0.5224 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.05462, allocations: 0 / 0.5224 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.05503, allocations: 115.9 kB / 0.5225 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.05503, allocations: 4.125 kB / 0.5225 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.05506, allocations: 15.98 kB / 0.5225 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.05642, allocations: 4.474 MB / 0.5269 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.05642, allocations: 7.875 kB / 0.5269 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.05705, allocations: 0.5762 MB / 0.5274 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.05725, allocations: 127.2 kB / 0.5276 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.05733, allocations: 8 kB / 0.5276 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.0576, allocations: 19.98 kB / 0.5276 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.05767, allocations: 31.94 kB / 0.5276 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.0577, allocations: 19.88 kB / 0.5276 GB, free: 11.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004535/0.05816, allocations: 487.6 kB / 0.5281 GB, free: 10.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05816, allocations: 0 / 0.5281 GB, free: 10.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004284/0.06244, allocations: 0.5027 MB / 0.5286 GB, free: 10.23 MB / 458.7 MB 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003947/0.06283, allocations: 218.8 kB / 0.5288 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.06436, allocations: 0.723 MB / 0.5295 GB, free: 9.281 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.06436, allocations: 0 / 0.5295 GB, free: 9.281 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003398/0.06776, allocations: 216.8 kB / 0.5297 GB, free: 9.066 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.06893, allocations: 341.5 kB / 0.53 GB, free: 8.734 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.07427, allocations: 1.48 MB / 0.5315 GB, free: 7.203 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.0744, allocations: 179.7 kB / 0.5317 GB, free: 7.004 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006236/0.07502, allocations: 178.1 kB / 0.5318 GB, free: 6.828 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.07523, allocations: 72.47 kB / 0.5319 GB, free: 6.758 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/0.07523, allocations: 0 / 0.5319 GB, free: 6.758 MB / 458.7 MB Notification: Performance of Templates: time 0.04821/0.1234, allocations: 23.49 MB / 0.5548 GB, free: 15.79 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.209105436690152]