Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001813/0.001813, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002129/0.002129, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 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.663/1.663, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.348/3.348, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003725/0.003725, allocations: 71.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.826, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02626/0.8522, allocations: 17.93 MB / 1.37 GB, free: 15.65 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.009149/0.8614, allocations: 4.7 MB / 1.375 GB, free: 10.94 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007765/0.8622, allocations: 27.75 kB / 1.375 GB, free: 10.91 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.0009684/0.8631, allocations: 258 kB / 1.375 GB, free: 10.66 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.8655, allocations: 0.8028 MB / 1.376 GB, free: 9.852 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.868, allocations: 0.8697 MB / 1.377 GB, free: 8.988 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.8703, allocations: 1.506 MB / 1.378 GB, free: 7.477 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.871, allocations: 405.6 kB / 1.379 GB, free: 7.062 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.8724, allocations: 0.6849 MB / 1.379 GB, free: 6.375 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.8732, allocations: 0.4939 MB / 1.38 GB, free: 5.879 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.8733, allocations: 60 kB / 1.38 GB, free: 5.82 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.8745, allocations: 0.5302 MB / 1.38 GB, free: 5.289 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.8747, allocations: 171.3 kB / 1.381 GB, free: 5.121 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.8751, allocations: 306.5 kB / 1.381 GB, free: 4.82 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.877, allocations: 1.062 MB / 1.382 GB, free: 3.754 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.877, allocations: 0 / 1.382 GB, free: 3.754 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.844e-06/0.877, allocations: 0 / 1.382 GB, free: 3.754 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.877, allocations: 0 / 1.382 GB, free: 3.754 MB / 1.057 GB 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.002194/0.8792, allocations: 1.033 MB / 1.383 GB, free: 2.684 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.8793, allocations: 16.86 kB / 1.383 GB, free: 2.668 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.8818, allocations: 248.1 kB / 1.383 GB, free: 2.426 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.883, allocations: 476.5 kB / 1.384 GB, free: 1.938 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.8831, allocations: 41 kB / 1.384 GB, free: 1.898 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.8833, allocations: 48 kB / 1.384 GB, free: 1.852 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.8854, allocations: 0.7793 MB / 1.385 GB, free: 1.004 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.8854, allocations: 4 kB / 1.385 GB, free: 1 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.8855, allocations: 20 kB / 1.385 GB, free: 0.9805 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.8856, allocations: 15.94 kB / 1.385 GB, free: 0.9648 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.888, allocations: 0.6986 MB / 1.385 GB, free: 272 kB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008733/0.8967, allocations: 3.385 MB / 1.389 GB, free: 12.76 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.8983, allocations: 394.8 kB / 1.389 GB, free: 12.36 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009901/0.8993, allocations: 288.5 kB / 1.389 GB, free: 12.08 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.8995, allocations: 43.91 kB / 1.389 GB, free: 12.04 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.8995, allocations: 42.56 kB / 1.389 GB, free: 11.98 MB / 1.073 GB Notification: Performance of pre-optimization done (n=38): time 2.715e-06/0.8995, allocations: 0 / 1.389 GB, free: 11.98 MB / 1.073 GB Notification: Performance of matching and sorting (n=38): time 0.009121/0.9087, allocations: 1.283 MB / 1.391 GB, free: 10.69 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.9087, allocations: 55.41 kB / 1.391 GB, free: 10.62 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.9097, allocations: 0.5224 MB / 1.391 GB, free: 10.09 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 9.306e-05/0.9098, allocations: 33.7 kB / 1.391 GB, free: 10.05 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.9102, allocations: 332.9 kB / 1.391 GB, free: 9.723 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.9105, allocations: 142.8 kB / 1.392 GB, free: 9.582 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.9108, allocations: 122.2 kB / 1.392 GB, free: 9.457 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002911/0.9111, allocations: 366.7 kB / 1.392 GB, free: 9.09 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.9121, allocations: 299.2 kB / 1.392 GB, free: 8.797 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.9135, allocations: 0.5011 MB / 1.393 GB, free: 8.215 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.9157, allocations: 0.7107 MB / 1.394 GB, free: 7.445 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9157, allocations: 0 / 1.394 GB, free: 7.445 MB / 1.073 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.007885/0.9236, allocations: 1.234 MB / 1.395 GB, free: 6.203 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.9236, allocations: 8 kB / 1.395 GB, free: 6.195 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.9236, allocations: 4 kB / 1.395 GB, free: 6.191 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.9247, allocations: 208.7 kB / 1.395 GB, free: 5.984 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.926, allocations: 135.8 kB / 1.395 GB, free: 5.852 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.9273, allocations: 0.6852 MB / 1.396 GB, free: 5.141 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.9284, allocations: 83.58 kB / 1.396 GB, free: 5.059 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.9288, allocations: 31.98 kB / 1.396 GB, free: 5.027 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001314/0.9301, allocations: 417.2 kB / 1.396 GB, free: 4.617 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/0.9314, allocations: 0.5089 MB / 1.397 GB, free: 4.027 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002201/0.9336, allocations: 0.7106 MB / 1.397 GB, free: 3.254 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.848e-06/0.9336, allocations: 0 / 1.397 GB, free: 3.254 MB / 1.073 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.002725/0.9363, allocations: 0.8039 MB / 1.398 GB, free: 2.441 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.9363, allocations: 11.94 kB / 1.398 GB, free: 2.43 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.9363, allocations: 4 kB / 1.398 GB, free: 2.426 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.9364, allocations: 8 kB / 1.398 GB, free: 2.418 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.9376, allocations: 156.2 kB / 1.398 GB, free: 2.266 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.9377, allocations: 4 kB / 1.398 GB, free: 2.262 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009816/0.9386, allocations: 87.61 kB / 1.398 GB, free: 2.176 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.9387, allocations: 27.98 kB / 1.399 GB, free: 2.148 MB / 1.073 GB 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.0003153/0.9391, allocations: 216 kB / 1.399 GB, free: 1.93 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.9393, allocations: 63.58 kB / 1.399 GB, free: 1.867 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/0.9462, allocations: 1.137 MB / 1.4 GB, free: 0.7227 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.9463, allocations: 4 kB / 1.4 GB, free: 0.7188 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9463, allocations: 0 / 1.4 GB, free: 0.7188 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.9463, allocations: 3.984 kB / 1.4 GB, free: 0.7148 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00909/0.9554, allocations: 1.812 MB / 1.402 GB, free: 14.85 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.9554, allocations: 4 kB / 1.402 GB, free: 14.85 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.9561, allocations: 83.88 kB / 1.402 GB, free: 14.77 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007557/0.9569, allocations: 176.8 kB / 1.402 GB, free: 14.59 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.957, allocations: 16.09 kB / 1.402 GB, free: 14.57 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.9591, allocations: 0.7046 MB / 1.403 GB, free: 13.84 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9591, allocations: 0 / 1.403 GB, free: 13.84 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/0.9651, allocations: 1.167 MB / 1.404 GB, free: 12.64 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.9655, allocations: 123.4 kB / 1.404 GB, free: 12.52 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.9656, allocations: 8 kB / 1.404 GB, free: 12.52 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.9662, allocations: 43.95 kB / 1.404 GB, free: 12.47 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.9663, allocations: 35.92 kB / 1.404 GB, free: 12.44 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.9663, allocations: 23.98 kB / 1.404 GB, free: 12.41 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0004963/0.9668, allocations: 346.8 kB / 1.404 GB, free: 12.08 MB / 1.089 GB Notification: Performance of sort global known variables: time 9e-08/0.9668, allocations: 0 / 1.404 GB, free: 12.08 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001221/0.968, allocations: 403.1 kB / 1.405 GB, free: 11.68 MB / 1.089 GB 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.0005678/0.9686, allocations: 277.8 kB / 1.405 GB, free: 11.4 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.9712, allocations: 1.022 MB / 1.406 GB, free: 10.38 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9712, allocations: 1.125 kB / 1.406 GB, free: 10.38 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.9728, allocations: 371.8 kB / 1.406 GB, free: 10.02 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.9738, allocations: 202.8 kB / 1.407 GB, free: 9.824 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.976, allocations: 1.149 MB / 1.408 GB, free: 8.645 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.9763, allocations: 306.5 kB / 1.408 GB, free: 8.32 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0007423/0.9771, allocations: 157 kB / 1.408 GB, free: 8.172 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.9773, allocations: 63.41 kB / 1.408 GB, free: 8.109 MB / 1.089 GB Notification: Performance of SimCode: time 6.12e-07/0.9773, allocations: 0 / 1.408 GB, free: 8.109 MB / 1.089 GB Notification: Performance of Templates: time 0.03041/1.008, allocations: 16.72 MB / 1.424 GB, free: 7.551 MB / 1.104 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.02111516147852]