Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 115.4 kB / 17.09 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 186.8 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7803/0.7803, allocations: 122.9 MB / 414.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 68.45 kB / 0.5691 GB, free: 28.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1625, allocations: 77.92 MB / 0.6452 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.0262/0.1888, allocations: 23.26 MB / 0.6679 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.2005, allocations: 6.502 MB / 0.6743 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.2022, allocations: 27.81 kB / 0.6743 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.2039, allocations: 405.4 kB / 0.6747 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.2078, allocations: 1.145 MB / 0.6758 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.2113, allocations: 1.084 MB / 0.6769 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.2144, allocations: 2.015 MB / 0.6788 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.2159, allocations: 0.7297 MB / 0.6795 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.2177, allocations: 0.8406 MB / 0.6804 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.219, allocations: 0.7119 MB / 0.6811 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.2193, allocations: 75.98 kB / 0.6811 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.222, allocations: 1.002 MB / 0.6821 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.2225, allocations: 215.1 kB / 0.6823 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.2235, allocations: 0.4894 MB / 0.6828 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.2263, allocations: 1.503 MB / 0.6843 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2263, allocations: 0 / 0.6843 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2263, allocations: 0 / 0.6843 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.716e-05/0.2264, allocations: 4 kB / 0.6843 GB, free: 0.8945 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003212/0.2296, allocations: 1.411 MB / 0.6856 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2297, allocations: 8.625 kB / 0.6856 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.23, allocations: 119.5 kB / 0.6858 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.2315, allocations: 0.6913 MB / 0.6864 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.2316, allocations: 49.31 kB / 0.6865 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.2317, allocations: 60 kB / 0.6865 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.233, allocations: 0.6702 MB / 0.6872 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.233, allocations: 0 / 0.6872 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.2331, allocations: 24 kB / 0.6872 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.2331, allocations: 16 kB / 0.6872 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.234, allocations: 448.9 kB / 0.6877 GB, free: 13.27 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/0.2381, allocations: 2.545 MB / 0.6901 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.2389, allocations: 355.7 kB / 0.6905 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.2392, allocations: 192.6 kB / 0.6907 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.2396, allocations: 344.4 kB / 0.691 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006015/0.2402, allocations: 321.4 kB / 0.6913 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.916e-06/0.2402, allocations: 0 / 0.6913 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.001428/0.2417, allocations: 0.6875 MB / 0.692 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.2418, allocations: 255.5 kB / 0.6922 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2429, allocations: 0.8483 MB / 0.6931 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.243, allocations: 41.64 kB / 0.6931 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.2434, allocations: 436.4 kB / 0.6935 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2435, allocations: 118.3 kB / 0.6936 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.2437, allocations: 130.1 kB / 0.6937 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2439, allocations: 330.5 kB / 0.6941 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.2444, allocations: 219.1 kB / 0.6943 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.2449, allocations: 363.6 kB / 0.6946 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.2458, allocations: 0.5339 MB / 0.6951 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2458, allocations: 0 / 0.6951 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001438/0.2473, allocations: 0.7446 MB / 0.6959 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.2473, allocations: 37.69 kB / 0.6959 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2474, allocations: 0 / 0.6959 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.2474, allocations: 11.94 kB / 0.6959 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.2484, allocations: 180.1 kB / 0.6961 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.2496, allocations: 1.778 MB / 0.6978 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.2503, allocations: 83.23 kB / 0.6979 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.2504, allocations: 24 kB / 0.6979 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006048/0.251, allocations: 377.4 kB / 0.6983 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005034/0.2515, allocations: 378.2 kB / 0.6986 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008065/0.2523, allocations: 0.5347 MB / 0.6992 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.2524, allocations: 0 / 0.6992 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001244/0.2536, allocations: 0.7231 MB / 0.6999 GB, free: 60 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.2537, allocations: 37.69 kB / 0.6999 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2537, allocations: 4 kB / 0.6999 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2537, allocations: 7.938 kB / 0.6999 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.2542, allocations: 135.8 kB / 0.7 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2542, allocations: 4 kB / 0.7 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.2549, allocations: 79.84 kB / 0.7001 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.255, allocations: 24 kB / 0.7001 GB, free: 15.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 (mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.2553, allocations: 251 kB / 0.7004 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.2555, allocations: 98.72 kB / 0.7005 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.2568, allocations: 0.683 MB / 0.7011 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.2568, allocations: 0 / 0.7011 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2568, allocations: 0 / 0.7011 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.2572, allocations: 215.8 kB / 0.7014 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.2573, allocations: 12 kB / 0.7014 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.2578, allocations: 39.89 kB / 0.7014 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.2579, allocations: 39.94 kB / 0.7014 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001662/0.2596, allocations: 0.9398 MB / 0.7024 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001703/0.2613, allocations: 1.186 MB / 0.7035 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004043/0.2617, allocations: 244.2 kB / 0.7038 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008565/0.2626, allocations: 0.5748 MB / 0.7043 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.2626, allocations: 0 / 0.7043 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003786/0.2664, allocations: 1.193 MB / 0.7055 GB, free: 10.17 MB / 0.545 GB Notification: Performance of SimCode: time 0.004132/0.2705, allocations: 2.092 MB / 0.7075 GB, free: 8.012 MB / 0.545 GB Notification: Performance of Templates: time 0.03448/0.305, allocations: 18.73 MB / 0.7258 GB, free: 5.484 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)