Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.001034/0.001034, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.0012/0.0012, allocations: 169 kB / 24.14 MB, free: 352 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.9954/0.9954, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6139/0.6139, allocations: 115 MB / 376 MB, free: 7.441 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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 428.7 MB, free: 2.762 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.423e-05, allocations: 2.312 kB / 428.7 MB, free: 2.758 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.01602/0.01604, allocations: 9.675 MB / 438.4 MB, free: 9.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.0211, allocations: 3.393 MB / 441.8 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/0.02189, allocations: 39.62 kB / 441.8 MB, free: 5.598 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.02244, allocations: 214.2 kB / 442 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.02394, allocations: 0.7336 MB / 442.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.02555, allocations: 0.8572 MB / 443.6 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.02756, allocations: 1.951 MB / 445.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.02836, allocations: 0.5456 MB / 446.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.02981, allocations: 0.9702 MB / 447.1 MB, free: 300 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1917/0.2215, allocations: 0.5224 MB / 447.6 MB, free: 18.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.2217, allocations: 54.28 kB / 447.7 MB, free: 18.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009201/0.2226, allocations: 412.2 kB / 448.1 MB, free: 18.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2228, allocations: 179.9 kB / 448.3 MB, free: 18.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.2232, allocations: 286.9 kB / 448.5 MB, free: 18.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.2243, allocations: 0.7751 MB / 449.3 MB, free: 18.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2243, allocations: 1.469 kB / 449.3 MB, free: 18.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2243, allocations: 0.6562 kB / 449.3 MB, free: 18.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.2244, allocations: 0 / 449.3 MB, free: 18.74 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001256/0.2256, allocations: 1.045 MB / 450.4 MB, free: 18.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2256, allocations: 11.22 kB / 450.4 MB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.2258, allocations: 100.1 kB / 450.5 MB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.2265, allocations: 477 kB / 450.9 MB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2265, allocations: 40.19 kB / 451 MB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.2266, allocations: 56.78 kB / 451 MB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.227, allocations: 288.4 kB / 451.3 MB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.227, allocations: 0.6562 kB / 451.3 MB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.227, allocations: 22.69 kB / 451.3 MB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.227, allocations: 11.69 kB / 451.3 MB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.2272, allocations: 99.14 kB / 451.4 MB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2286, allocations: 0.8792 MB / 452.3 MB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2288, allocations: 128 kB / 452.4 MB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.2288, allocations: 39.36 kB / 452.5 MB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.917e-05/0.2289, allocations: 22.11 kB / 452.5 MB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2289, allocations: 38.2 kB / 452.5 MB, free: 17.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.2289, allocations: 0 / 452.5 MB, free: 17.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002399/0.2292, allocations: 138.9 kB / 452.7 MB, free: 17.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2292, allocations: 54.28 kB / 452.7 MB, free: 17.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.2296, allocations: 0.5104 MB / 453.2 MB, free: 17.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2297, allocations: 36.88 kB / 453.3 MB, free: 17.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.2298, allocations: 297 kB / 453.6 MB, free: 17.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.2299, allocations: 70.08 kB / 453.6 MB, free: 16.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.23, allocations: 88.25 kB / 453.7 MB, free: 16.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.2301, allocations: 379 kB / 454.1 MB, free: 16.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.2301, allocations: 41.12 kB / 454.1 MB, free: 16.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2303, allocations: 319.2 kB / 454.4 MB, free: 16.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.2304, allocations: 127.7 kB / 454.6 MB, free: 16.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2304, allocations: 1.984 kB / 454.6 MB, free: 16.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002655/0.2307, allocations: 207.9 kB / 454.8 MB, free: 16.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2307, allocations: 4.875 kB / 454.8 MB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2307, allocations: 4.625 kB / 454.8 MB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2307, allocations: 7.688 kB / 454.8 MB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.2312, allocations: 144.9 kB / 454.9 MB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005723/0.2318, allocations: 2.328 MB / 457.3 MB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.232, allocations: 49.08 kB / 457.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.232, allocations: 13.73 kB / 457.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001288/0.2322, allocations: 123.9 kB / 457.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001153/0.2323, allocations: 316 kB / 457.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001357/0.2324, allocations: 133.4 kB / 457.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.2324, allocations: 0 / 457.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0002385/0.2327, allocations: 201.4 kB / 458.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.2327, allocations: 9.156 kB / 458.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.2327, allocations: 5.656 kB / 458.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.2327, allocations: 2.609 kB / 458.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2329, allocations: 96.44 kB / 458.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2329, allocations: 3.406 kB / 458.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.233, allocations: 38.72 kB / 458.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2331, allocations: 13.53 kB / 458.2 MB, free: 13.38 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.2331, allocations: 201.5 kB / 458.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.2332, allocations: 37.22 kB / 458.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.2334, allocations: 179.4 kB / 458.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.2335, allocations: 3.703 kB / 458.7 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2335, allocations: 0 / 458.7 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2335, allocations: 3.047 kB / 458.7 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.2341, allocations: 0.5759 MB / 459.2 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2341, allocations: 1.031 kB / 459.2 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.2342, allocations: 68.77 kB / 459.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2342, allocations: 3.188 kB / 459.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2343, allocations: 3.641 kB / 459.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003597/0.2346, allocations: 2.334 MB / 461.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2346, allocations: 2.922 kB / 461.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.2348, allocations: 307.4 kB / 461.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/0.2349, allocations: 68.81 kB / 462 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.235, allocations: 7.75 kB / 462 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2351, allocations: 11.27 kB / 462 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.2351, allocations: 21.89 kB / 462 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2351, allocations: 5.422 kB / 462.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.2353, allocations: 247.6 kB / 462.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2353, allocations: 5.516 kB / 462.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006363/0.236, allocations: 344.7 kB / 462.6 MB, free: 10.12 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002539/0.2362, allocations: 137.1 kB / 462.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.237, allocations: 311.2 kB / 463.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.237, allocations: 6.75 kB / 463.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.2372, allocations: 88.25 kB / 463.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.238, allocations: 256.8 kB / 463.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.2398, allocations: 1.082 MB / 464.5 MB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.2399, allocations: 140.9 kB / 464.6 MB, free: 9.352 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.2401, allocations: 85.77 kB / 464.7 MB, free: 9.344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.2405, allocations: 227.9 kB / 464.9 MB, free: 9.293 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2405, allocations: 0 / 464.9 MB, free: 9.293 MB / 410.7 MB Notification: Performance of Templates: time 0.01556/0.2561, allocations: 11.08 MB / 476 MB, free: 3.227 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.021804910153151]