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.00148/0.00148, allocations: 92.72 kB / 20.21 MB, free: 4.215 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.00165/0.00165, allocations: 165.7 kB / 23.52 MB, free: 0.9102 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.52/1.52, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 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 0.9435/0.9435, allocations: 115 MB / 375.3 MB, free: 7.562 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 1.523e-06/1.523e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.36e-05, allocations: 2.312 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01586/0.01588, allocations: 17.82 MB / 498.6 MB, free: 4 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008505/0.02439, allocations: 4.711 MB / 0.4915 GB, free: 12.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008694/0.02526, allocations: 30.94 kB / 0.4915 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.02615, allocations: 265.5 kB / 0.4918 GB, free: 12.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.0286, allocations: 0.8297 MB / 0.4926 GB, free: 12.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.03098, allocations: 0.9106 MB / 0.4935 GB, free: 11.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.03316, allocations: 1.511 MB / 0.495 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006738/0.03384, allocations: 430 kB / 0.4954 GB, free: 10.74 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.03541, allocations: 0.8698 MB / 0.4962 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007102/0.03612, allocations: 454.8 kB / 0.4967 GB, free: 10.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.5e-05/0.03621, allocations: 54.78 kB / 0.4967 GB, free: 10.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.0374, allocations: 0.5394 MB / 0.4972 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.03761, allocations: 171.5 kB / 0.4974 GB, free: 9.977 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.03795, allocations: 251.9 kB / 0.4977 GB, free: 9.879 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.03958, allocations: 1.106 MB / 0.4987 GB, free: 9.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.03958, allocations: 1.25 kB / 0.4987 GB, free: 9.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.03958, allocations: 0 / 0.4987 GB, free: 9.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.03959, allocations: 1.062 kB / 0.4987 GB, free: 9.477 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002648/0.04224, allocations: 1.033 MB / 0.4997 GB, free: 8.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.04229, allocations: 8.031 kB / 0.4998 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.04467, allocations: 291.1 kB / 0.5 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.04589, allocations: 0.4998 MB / 0.5005 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.04594, allocations: 41.62 kB / 0.5006 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.04606, allocations: 52 kB / 0.5006 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.04779, allocations: 0.7801 MB / 0.5014 GB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.04781, allocations: 0 / 0.5014 GB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.04788, allocations: 20.61 kB / 0.5014 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.0479, allocations: 12 kB / 0.5014 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.04957, allocations: 0.6895 MB / 0.5021 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006922/0.05649, allocations: 3.392 MB / 0.5054 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.05747, allocations: 396.4 kB / 0.5058 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/0.05816, allocations: 289.3 kB / 0.506 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.05836, allocations: 40.53 kB / 0.5061 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.0584, allocations: 41.97 kB / 0.5061 GB, free: 2.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.05841, allocations: 0 / 0.5061 GB, free: 2.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=38): time 0.007152/0.06556, allocations: 1.306 MB / 0.5074 GB, free: 1.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.06561, allocations: 55.41 kB / 0.5074 GB, free: 1.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.06666, allocations: 0.5342 MB / 0.508 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.06675, allocations: 29.7 kB / 0.508 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.06708, allocations: 340.9 kB / 0.5083 GB, free: 404 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.06724, allocations: 130.8 kB / 0.5084 GB, free: 272 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.0675, allocations: 122.2 kB / 0.5086 GB, free: 144 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.06776, allocations: 370.7 kB / 0.5089 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/0.06849, allocations: 287.3 kB / 0.5092 GB, free: 15.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009224/0.06941, allocations: 0.505 MB / 0.5097 GB, free: 14.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.07098, allocations: 0.7156 MB / 0.5104 GB, free: 14.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.07098, allocations: 4 kB / 0.5104 GB, free: 14.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005874/0.07686, allocations: 1.251 MB / 0.5116 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.07688, allocations: 8 kB / 0.5116 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.07689, allocations: 4 kB / 0.5116 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/0.08086, allocations: 464.4 kB / 0.5121 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.08165, allocations: 135.8 kB / 0.5122 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/0.0826, allocations: 0.693 MB / 0.5129 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/0.08347, allocations: 83.58 kB / 0.5129 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.08356, allocations: 31.92 kB / 0.513 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009493/0.08451, allocations: 417.2 kB / 0.5134 GB, free: 11.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009234/0.08543, allocations: 0.5012 MB / 0.5139 GB, free: 10.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001801/0.08723, allocations: 0.7076 MB / 0.5146 GB, free: 9.672 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.08724, allocations: 4 kB / 0.5146 GB, free: 9.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.002034/0.08927, allocations: 0.8366 MB / 0.5154 GB, free: 8.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.08929, allocations: 8 kB / 0.5154 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.0893, allocations: 7.984 kB / 0.5154 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.08931, allocations: 8 kB / 0.5154 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.09022, allocations: 155.8 kB / 0.5155 GB, free: 8.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.09024, allocations: 4 kB / 0.5156 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/0.09104, allocations: 76 kB / 0.5156 GB, free: 8.566 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.09112, allocations: 27.98 kB / 0.5157 GB, free: 8.539 MB / 442.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.0002874/0.09141, allocations: 224 kB / 0.5159 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.09162, allocations: 71.58 kB / 0.5159 GB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/0.09709, allocations: 1.13 MB / 0.517 GB, free: 7.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.0971, allocations: 4.094 kB / 0.517 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.09711, allocations: 3.984 kB / 0.517 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.09712, allocations: 0 / 0.517 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007272/0.1044, allocations: 1.824 MB / 0.5188 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.1044, allocations: 0 / 0.5188 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.105, allocations: 87.94 kB / 0.5189 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/0.1085, allocations: 404.5 kB / 0.5193 GB, free: 4.734 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.192e-05/0.1086, allocations: 15.98 kB / 0.5193 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.1102, allocations: 0.7007 MB / 0.52 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1102, allocations: 0 / 0.52 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/0.1154, allocations: 1.172 MB / 0.5211 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/0.1158, allocations: 127.4 kB / 0.5213 GB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.116, allocations: 8 kB / 0.5213 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.1167, allocations: 43.95 kB / 0.5213 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1168, allocations: 35.88 kB / 0.5213 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.1169, allocations: 19.98 kB / 0.5214 GB, free: 2.562 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00069/0.1176, allocations: 358.8 kB / 0.5217 GB, free: 2.215 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1176, allocations: 0 / 0.5217 GB, free: 2.215 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001561/0.1191, allocations: 407.1 kB / 0.5221 GB, free: 1.816 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.0008079/0.1199, allocations: 262.7 kB / 0.5223 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.1228, allocations: 1.033 MB / 0.5234 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1228, allocations: 4 kB / 0.5234 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.1245, allocations: 373.4 kB / 0.5237 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.1259, allocations: 236.3 kB / 0.5239 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.1285, allocations: 1.144 MB / 0.5251 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.1289, allocations: 306.8 kB / 0.5253 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008465/0.1297, allocations: 167.4 kB / 0.5255 GB, free: 14.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.1301, allocations: 60.47 kB / 0.5256 GB, free: 14.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1301, allocations: 0 / 0.5256 GB, free: 14.2 MB / 458.7 MB Notification: Performance of Templates: time 0.03242/0.1625, allocations: 16.05 MB / 0.5412 GB, free: 14.36 MB / 474.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.303341749939136]