Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.00066/0.00066, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009095/0.001569, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006572/0.0006572, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000879/0.001536, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.9236/0.9236, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07783/1.001, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6398/0.6398, allocations: 120.1 MB / 364.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06657/0.7064, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.75e-05, allocations: 6.25 kB / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.006626/0.006654, allocations: 7.426 MB / 411.2 MB, free: 3.469 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.01139, allocations: 3.759 MB / 414.9 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.01192, allocations: 27.81 kB / 414.9 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.01257, allocations: 206.5 kB / 415.1 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.01359, allocations: 481 kB / 415.6 MB, free: 15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.0153, allocations: 0.8371 MB / 416.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.01654, allocations: 0.9894 MB / 417.4 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.01696, allocations: 261.2 kB / 417.7 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007188/0.01768, allocations: 0.5329 MB / 418.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.01803, allocations: 263.1 kB / 418.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.01808, allocations: 24 kB / 418.5 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007628/0.01884, allocations: 463.2 kB / 419 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.01895, allocations: 83.61 kB / 419 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.01907, allocations: 119.7 kB / 419.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000751/0.01982, allocations: 0.545 MB / 419.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.01984, allocations: 0 / 419.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01984, allocations: 0 / 419.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.01985, allocations: 3.984 kB / 419.7 MB, free: 10.87 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000945/0.0208, allocations: 0.841 MB / 420.5 MB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.02082, allocations: 8.031 kB / 420.6 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.0209, allocations: 56.88 kB / 420.6 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.02129, allocations: 339.1 kB / 420.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.02131, allocations: 20.5 kB / 421 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.02134, allocations: 24 kB / 421 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.02157, allocations: 159.6 kB / 421.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.02157, allocations: 4 kB / 421.1 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.02159, allocations: 8 kB / 421.2 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.02159, allocations: 8 kB / 421.2 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.02166, allocations: 51.41 kB / 421.2 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.02243, allocations: 0.4898 MB / 421.7 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.02255, allocations: 113.2 kB / 421.8 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.02258, allocations: 39.59 kB / 421.9 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/0.02267, allocations: 19.98 kB / 421.9 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.02269, allocations: 30.56 kB / 421.9 MB, free: 8.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.305e-06/0.02269, allocations: 8 kB / 421.9 MB, free: 8.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001785/0.02287, allocations: 101.6 kB / 422 MB, free: 8.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.0229, allocations: 63.39 kB / 422.1 MB, free: 8.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.02313, allocations: 365 kB / 422.4 MB, free: 8.012 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.02315, allocations: 33.7 kB / 422.5 MB, free: 7.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.02324, allocations: 189.5 kB / 422.6 MB, free: 7.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.02327, allocations: 51.52 kB / 422.7 MB, free: 7.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.02332, allocations: 53.67 kB / 422.7 MB, free: 7.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.02342, allocations: 354.7 kB / 423.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.02346, allocations: 23.67 kB / 423.1 MB, free: 7.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.02361, allocations: 360.5 kB / 423.5 MB, free: 6.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.0237, allocations: 90.91 kB / 423.6 MB, free: 6.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.0237, allocations: 0 / 423.6 MB, free: 6.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001516/0.02385, allocations: 147 kB / 423.7 MB, free: 6.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.02387, allocations: 4 kB / 423.7 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.02387, allocations: 0 / 423.7 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.02389, allocations: 4 kB / 423.7 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.02403, allocations: 47.97 kB / 423.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.02403, allocations: 0 / 423.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.02414, allocations: 31.81 kB / 423.8 MB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.02415, allocations: 12 kB / 423.8 MB, free: 6.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.297e-05/0.02424, allocations: 117.7 kB / 423.9 MB, free: 6.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001303/0.02437, allocations: 358.7 kB / 424.3 MB, free: 5.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.036e-05/0.02445, allocations: 94.33 kB / 424.4 MB, free: 5.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.02445, allocations: 0 / 424.4 MB, free: 5.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001467/0.0246, allocations: 143.1 kB / 424.5 MB, free: 5.676 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.0246, allocations: 8 kB / 424.5 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.02461, allocations: 0 / 424.5 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.02461, allocations: 0 / 424.5 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.02472, allocations: 59.91 kB / 424.6 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.02472, allocations: 4 kB / 424.6 MB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.02483, allocations: 27.88 kB / 424.6 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.02484, allocations: 8 kB / 424.6 MB, free: 5.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.02493, allocations: 184.3 kB / 424.8 MB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.02496, allocations: 35.84 kB / 424.8 MB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.02516, allocations: 133.1 kB / 424.9 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.02517, allocations: 0 / 424.9 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.02517, allocations: 4 kB / 424.9 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.02518, allocations: 7.984 kB / 425 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.02562, allocations: 0.4969 MB / 425.5 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.02563, allocations: 0 / 425.5 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.0257, allocations: 35.92 kB / 425.5 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.02576, allocations: 47.69 kB / 425.5 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.02577, allocations: 0 / 425.5 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.02578, allocations: 7.984 kB / 425.5 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.02578, allocations: 128 / 425.5 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.02578, allocations: 8 kB / 425.6 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.02595, allocations: 288.8 kB / 425.8 MB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.02598, allocations: 15.98 kB / 425.8 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.02606, allocations: 4 kB / 425.9 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.0261, allocations: 11.98 kB / 425.9 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.02611, allocations: 12.06 kB / 425.9 MB, free: 4.207 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.02623, allocations: 163.5 kB / 426 MB, free: 4.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02623, allocations: 0 / 426 MB, free: 4.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.02663, allocations: 211.5 kB / 426.2 MB, free: 3.836 MB / 410.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.02778, allocations: 0.5593 MB / 426.8 MB, free: 3.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.02799, allocations: 149.4 kB / 426.9 MB, free: 3.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.028, allocations: 4 kB / 427 MB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.02809, allocations: 59.59 kB / 427 MB, free: 3.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.02886, allocations: 1.244 MB / 428.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.03121, allocations: 0.6818 MB / 428.9 MB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.373e-05/0.03128, allocations: 113.3 kB / 429 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.03143, allocations: 63.11 kB / 429.1 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.03167, allocations: 171.2 kB / 429.3 MB, free: 484 kB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03167, allocations: 0 / 429.3 MB, free: 484 kB / 410.7 MB Notification: Performance of Templates: time 0.1718/0.2035, allocations: 8.846 MB / 438.1 MB, free: 11.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5272591281682253]