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.0008429/0.0008429, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001105/0.001105, allocations: 173.3 kB / 24.15 MB, free: 356 kB / 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.9894/0.9894, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.619/0.619, allocations: 115 MB / 376 MB, free: 7.504 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.493e-06/1.493e-06, allocations: 0 / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.545e-05, allocations: 6.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.008531/0.008546, allocations: 8.407 MB / 437.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.01212, allocations: 3.289 MB / 440.4 MB, free: 7.051 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.01236, allocations: 27.69 kB / 440.4 MB, free: 7.023 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.01273, allocations: 174.5 kB / 440.6 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007034/0.01343, allocations: 0.5279 MB / 441.1 MB, free: 6.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.01446, allocations: 0.8922 MB / 442 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.01547, allocations: 1.474 MB / 443.5 MB, free: 3.945 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.01585, allocations: 434.6 kB / 443.9 MB, free: 3.504 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005961/0.01645, allocations: 0.7559 MB / 444.7 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.01682, allocations: 434.7 kB / 445.1 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.347e-05/0.0169, allocations: 55.98 kB / 445.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.01736, allocations: 459 kB / 445.6 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.01749, allocations: 167.3 kB / 445.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.01766, allocations: 251.3 kB / 446 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.01836, allocations: 0.8135 MB / 446.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.01836, allocations: 0 / 446.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01836, allocations: 0 / 446.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01836, allocations: 4 kB / 446.8 MB, free: 0.5859 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.2074/0.2258, allocations: 0.9809 MB / 447.8 MB, free: 20.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.2258, allocations: 9.906 kB / 447.8 MB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.2269, allocations: 257.8 kB / 448.1 MB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.2276, allocations: 400.9 kB / 448.5 MB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.2277, allocations: 39.72 kB / 448.5 MB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.2278, allocations: 53.12 kB / 448.6 MB, free: 20.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.2285, allocations: 0.6795 MB / 449.3 MB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2286, allocations: 0 / 449.3 MB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.2286, allocations: 19.31 kB / 449.3 MB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2286, allocations: 14.72 kB / 449.3 MB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.229, allocations: 398.8 kB / 449.7 MB, free: 20.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.2316, allocations: 2.566 MB / 452.2 MB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.2319, allocations: 285 kB / 452.5 MB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.2321, allocations: 162.1 kB / 452.7 MB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2322, allocations: 26.95 kB / 452.7 MB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2322, allocations: 37.7 kB / 452.7 MB, free: 18.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.533e-06/0.2322, allocations: 1.688 kB / 452.7 MB, free: 18.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.002663/0.2349, allocations: 0.8129 MB / 453.6 MB, free: 18.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.2349, allocations: 57.41 kB / 453.6 MB, free: 18.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.2352, allocations: 482.9 kB / 454.1 MB, free: 18.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.2353, allocations: 31.45 kB / 454.1 MB, free: 18.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2354, allocations: 284.3 kB / 454.4 MB, free: 18.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.2355, allocations: 134.8 kB / 454.5 MB, free: 18.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.2356, allocations: 114.8 kB / 454.6 MB, free: 18.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.2357, allocations: 379 kB / 455 MB, free: 17.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.2359, allocations: 148.4 kB / 455.1 MB, free: 17.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.2361, allocations: 377.4 kB / 455.5 MB, free: 17.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.2366, allocations: 494.5 kB / 456 MB, free: 17.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2366, allocations: 2.125 kB / 456 MB, free: 17.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001915/0.2385, allocations: 0.8369 MB / 456.8 MB, free: 17.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2385, allocations: 9.781 kB / 456.8 MB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2385, allocations: 4.344 kB / 456.9 MB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.2399, allocations: 358.3 kB / 457.2 MB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.2402, allocations: 130.5 kB / 457.3 MB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000286/0.2405, allocations: 0.5753 MB / 457.9 MB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.2408, allocations: 77.22 kB / 458 MB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.2409, allocations: 26.05 kB / 458 MB, free: 16.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002423/0.2411, allocations: 237.8 kB / 458.2 MB, free: 16.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002382/0.2414, allocations: 367.9 kB / 458.6 MB, free: 16.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003909/0.2417, allocations: 495.8 kB / 459.1 MB, free: 16.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.2417, allocations: 3.25 kB / 459.1 MB, free: 16.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0004734/0.2422, allocations: 494.9 kB / 459.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.2422, allocations: 12.88 kB / 459.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2422, allocations: 2.734 kB / 459.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.2422, allocations: 7.5 kB / 459.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.2426, allocations: 149.2 kB / 459.7 MB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2426, allocations: 11.75 kB / 459.7 MB, free: 16.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.2428, allocations: 69.8 kB / 459.8 MB, free: 16.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.2429, allocations: 18.39 kB / 459.8 MB, free: 16.1 MB / 410.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.0001137/0.243, allocations: 214 kB / 460 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.243, allocations: 48.06 kB / 460.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.2447, allocations: 0.7708 MB / 460.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2447, allocations: 2.781 kB / 460.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2447, allocations: 3.938 kB / 460.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2447, allocations: 4.469 kB / 460.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.2468, allocations: 1.217 MB / 462.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2468, allocations: 0.6875 kB / 462.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.247, allocations: 80.67 kB / 462.2 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.2482, allocations: 326 kB / 462.5 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.2482, allocations: 11.06 kB / 462.5 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004545/0.2487, allocations: 0.6091 MB / 463.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2487, allocations: 0 / 463.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2501, allocations: 0.8247 MB / 463.9 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.2503, allocations: 90.64 kB / 464 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.2503, allocations: 10.12 kB / 464 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.2505, allocations: 30.22 kB / 464.1 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.2506, allocations: 43.3 kB / 464.1 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.2506, allocations: 9.703 kB / 464.1 MB, free: 14.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.2507, allocations: 212.9 kB / 464.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2507, allocations: 1.094 kB / 464.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.2513, allocations: 384.7 kB / 464.7 MB, free: 14.08 MB / 410.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.0002855/0.2516, allocations: 195.6 kB / 464.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006791/0.2523, allocations: 0.6732 MB / 465.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.2523, allocations: 4.594 kB / 465.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.2527, allocations: 261.3 kB / 465.8 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.2532, allocations: 208.4 kB / 466 MB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.2545, allocations: 1.06 MB / 467.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.618e-05/0.2545, allocations: 144 kB / 467.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.2549, allocations: 139.8 kB / 467.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.2553, allocations: 227 kB / 467.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2553, allocations: 0 / 467.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01547/0.2708, allocations: 16.2 MB / 483.8 MB, free: 12.2 MB / 426.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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9124754020012915]