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.0009541/0.0009541, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001358/0.001358, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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 1.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.6083/0.6083, allocations: 115 MB / 375.7 MB, free: 7.664 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.664e-06/1.664e-06, allocations: 3.938 kB / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.46e-05, allocations: 5.781 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.007088/0.007102, allocations: 10.59 MB / 492.1 MB, free: 4.879 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.01185, allocations: 4.218 MB / 496.3 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.01238, allocations: 48.66 kB / 496.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.01285, allocations: 238.6 kB / 496.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.01412, allocations: 0.9095 MB / 497.5 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.0157, allocations: 1.145 MB / 498.7 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.01817, allocations: 3.406 MB / 0.4903 GB, free: 15.4 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.01942, allocations: 1.22 MB / 0.4915 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.02154, allocations: 1.89 MB / 0.4933 GB, free: 14.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.02378, allocations: 1.574 MB / 0.4949 GB, free: 13.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004887/0.02427, allocations: 128.7 kB / 0.495 GB, free: 13.7 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.02562, allocations: 0.7126 MB / 0.4957 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.02605, allocations: 428 kB / 0.4961 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006667/0.02672, allocations: 0.5751 MB / 0.4967 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.02865, allocations: 1.923 MB / 0.4985 GB, free: 11.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.02865, allocations: 0 / 0.4985 GB, free: 11.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02865, allocations: 0 / 0.4985 GB, free: 11.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.02868, allocations: 1.234 kB / 0.4985 GB, free: 11.11 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.001839/0.03052, allocations: 1.672 MB / 0.5002 GB, free: 9.445 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.03055, allocations: 12.03 kB / 0.5002 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.03119, allocations: 259.5 kB / 0.5004 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.03225, allocations: 0.8588 MB / 0.5013 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.0323, allocations: 85.31 kB / 0.5013 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.03244, allocations: 124 kB / 0.5015 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.03307, allocations: 0.5697 MB / 0.502 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.03309, allocations: 3.938 kB / 0.502 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.03313, allocations: 24 kB / 0.502 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.03315, allocations: 12 kB / 0.5021 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.03358, allocations: 339.5 kB / 0.5024 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.03647, allocations: 2.725 MB / 0.505 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.03681, allocations: 243.5 kB / 0.5053 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.03696, allocations: 112.2 kB / 0.5054 GB, free: 3.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.03707, allocations: 32.25 kB / 0.5054 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.0371, allocations: 41.67 kB / 0.5055 GB, free: 3.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.0371, allocations: 0 / 0.5055 GB, free: 3.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007148/0.03781, allocations: 470.5 kB / 0.5059 GB, free: 3.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.03784, allocations: 59.39 kB / 0.506 GB, free: 3.332 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.03841, allocations: 0.7739 MB / 0.5067 GB, free: 2.531 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.0385, allocations: 57.7 kB / 0.5068 GB, free: 2.469 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.0388, allocations: 0.5332 MB / 0.5073 GB, free: 1.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.03886, allocations: 127 kB / 0.5074 GB, free: 1.805 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.03914, allocations: 280.7 kB / 0.5077 GB, free: 1.523 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.03925, allocations: 0.4967 MB / 0.5082 GB, free: 1.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.03945, allocations: 140.2 kB / 0.5083 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.04098, allocations: 4.134 MB / 0.5123 GB, free: 11.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.04143, allocations: 387.5 kB / 0.5127 GB, free: 11.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.04143, allocations: 4 kB / 0.5127 GB, free: 11.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000734/0.04216, allocations: 0.5671 MB / 0.5133 GB, free: 10.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.04218, allocations: 4 kB / 0.5133 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.04219, allocations: 4 kB / 0.5133 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.04221, allocations: 4 kB / 0.5133 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/0.04295, allocations: 235.9 kB / 0.5135 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.04418, allocations: 4.494 MB / 0.5179 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.0457, allocations: 0.6912 MB / 0.5186 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.04575, allocations: 27.98 kB / 0.5186 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003418/0.04609, allocations: 280.1 kB / 0.5189 GB, free: 4.676 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00154/0.04763, allocations: 4.164 MB / 0.5229 GB, free: 15.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000419/0.04805, allocations: 414.4 kB / 0.5233 GB, free: 14.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.04805, allocations: 0 / 0.5233 GB, free: 14.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0007738/0.04882, allocations: 0.5789 MB / 0.5239 GB, free: 14.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.04883, allocations: 8 kB / 0.5239 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.04883, allocations: 7.984 kB / 0.5239 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.04884, allocations: 4.188 kB / 0.5239 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.04921, allocations: 151.8 kB / 0.524 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.04922, allocations: 11.94 kB / 0.5241 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.05133, allocations: 0.9928 MB / 0.525 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.05137, allocations: 20 kB / 0.525 GB, free: 13.06 MB / 458.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.0001766/0.05155, allocations: 328.9 kB / 0.5254 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.05164, allocations: 103.3 kB / 0.5255 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.05222, allocations: 455.7 kB / 0.5259 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.05223, allocations: 7.984 kB / 0.5259 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.05224, allocations: 4 kB / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.05224, allocations: 0 / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.05339, allocations: 1.104 MB / 0.527 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.05339, allocations: 0 / 0.527 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.05368, allocations: 116 kB / 0.5271 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.05369, allocations: 8 kB / 0.5271 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.05371, allocations: 8 kB / 0.5271 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.05481, allocations: 4.478 MB / 0.5315 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.05481, allocations: 320 / 0.5315 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.05531, allocations: 0.5719 MB / 0.532 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.05547, allocations: 131.2 kB / 0.5322 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.05552, allocations: 7.984 kB / 0.5322 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.0558, allocations: 23.98 kB / 0.5322 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.05586, allocations: 27.89 kB / 0.5322 GB, free: 5.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.05589, allocations: 12 kB / 0.5322 GB, free: 5.441 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003564/0.05625, allocations: 495.6 kB / 0.5327 GB, free: 4.945 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05625, allocations: 0 / 0.5327 GB, free: 4.945 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008227/0.05707, allocations: 0.5301 MB / 0.5332 GB, free: 4.414 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.000315/0.05739, allocations: 226.7 kB / 0.5334 GB, free: 4.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.05861, allocations: 0.7391 MB / 0.5342 GB, free: 3.434 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.05861, allocations: 256 / 0.5342 GB, free: 3.434 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.05891, allocations: 224.2 kB / 0.5344 GB, free: 3.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.05976, allocations: 345.9 kB / 0.5347 GB, free: 2.879 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.06156, allocations: 1.484 MB / 0.5362 GB, free: 1.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.06166, allocations: 180.1 kB / 0.5363 GB, free: 1.141 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004754/0.06214, allocations: 197.2 kB / 0.5365 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.0623, allocations: 80.47 kB / 0.5366 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0623, allocations: 3.938 kB / 0.5366 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of Templates: time 0.02368/0.08599, allocations: 24.84 MB / 0.5609 GB, free: 8.711 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.220735355746001]