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.001075/0.001075, allocations: 116.5 kB / 17.09 MB, free: 6.008 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.001021/0.001021, allocations: 189.7 kB / 18.02 MB, free: 5.094 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.714/0.714, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 62.25 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 76.19 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02576/0.1739, allocations: 23.26 MB / 0.6555 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1841, allocations: 6.485 MB / 0.6618 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.1856, allocations: 27.81 kB / 0.6618 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.1872, allocations: 397.4 kB / 0.6622 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.191, allocations: 1.11 MB / 0.6633 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.1941, allocations: 1.08 MB / 0.6643 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003092/0.1972, allocations: 2.023 MB / 0.6663 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.1985, allocations: 0.7297 MB / 0.667 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.2003, allocations: 0.8367 MB / 0.6678 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.2017, allocations: 0.7197 MB / 0.6685 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.202, allocations: 72 kB / 0.6686 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.2046, allocations: 0.9983 MB / 0.6696 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.2051, allocations: 211.1 kB / 0.6698 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009677/0.2061, allocations: 0.4933 MB / 0.6703 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.2095, allocations: 1.503 MB / 0.6717 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2095, allocations: 0 / 0.6717 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2095, allocations: 0 / 0.6717 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.96e-05/0.2096, allocations: 0 / 0.6717 GB, free: 12.33 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.003427/0.213, allocations: 1.407 MB / 0.6731 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.2131, allocations: 8.031 kB / 0.6731 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.2133, allocations: 111.6 kB / 0.6732 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.2146, allocations: 0.703 MB / 0.6739 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.2146, allocations: 45.31 kB / 0.674 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2147, allocations: 67.94 kB / 0.674 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.2159, allocations: 0.6663 MB / 0.6747 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2159, allocations: 7.938 kB / 0.6747 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.216, allocations: 24 kB / 0.6747 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.216, allocations: 12 kB / 0.6747 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.2168, allocations: 448.9 kB / 0.6751 GB, free: 8.707 MB / 0.5137 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.003601/0.2204, allocations: 2.545 MB / 0.6776 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.2211, allocations: 350.8 kB / 0.678 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.2215, allocations: 192.8 kB / 0.6781 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.2218, allocations: 344.3 kB / 0.6785 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005151/0.2224, allocations: 313.5 kB / 0.6788 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 2.215e-06/0.2224, allocations: 4 kB / 0.6788 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.001341/0.2237, allocations: 0.6892 MB / 0.6795 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.2239, allocations: 251.5 kB / 0.6797 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/0.2249, allocations: 0.8445 MB / 0.6805 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.2249, allocations: 37.7 kB / 0.6806 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.2253, allocations: 444.3 kB / 0.681 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.2254, allocations: 118.3 kB / 0.6811 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.2256, allocations: 130.1 kB / 0.6812 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2258, allocations: 330 kB / 0.6815 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.2262, allocations: 215.1 kB / 0.6817 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.2268, allocations: 371.6 kB / 0.6821 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.2276, allocations: 0.5262 MB / 0.6826 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2277, allocations: 4 kB / 0.6826 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001291/0.229, allocations: 0.7369 MB / 0.6833 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.229, allocations: 41.69 kB / 0.6834 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.229, allocations: 4.875 kB / 0.6834 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.2291, allocations: 15.94 kB / 0.6834 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/0.2301, allocations: 167.8 kB / 0.6835 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.2312, allocations: 1.781 MB / 0.6853 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/0.2319, allocations: 87.27 kB / 0.6854 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.232, allocations: 24 kB / 0.6854 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006034/0.2326, allocations: 381.4 kB / 0.6858 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000519/0.2331, allocations: 370.2 kB / 0.6861 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008287/0.234, allocations: 0.5307 MB / 0.6866 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.234, allocations: 4 kB / 0.6866 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001203/0.2352, allocations: 0.7193 MB / 0.6873 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.2352, allocations: 47.09 kB / 0.6874 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2352, allocations: 7.938 kB / 0.6874 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2353, allocations: 7.938 kB / 0.6874 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.2358, allocations: 127.8 kB / 0.6875 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2358, allocations: 8 kB / 0.6875 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.2364, allocations: 79.84 kB / 0.6876 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.2365, allocations: 27.98 kB / 0.6876 GB, free: 11.2 MB / 0.5294 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.0002549/0.2368, allocations: 258.5 kB / 0.6879 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.2369, allocations: 94.81 kB / 0.688 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.2382, allocations: 0.6674 MB / 0.6886 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.2382, allocations: 4 kB / 0.6886 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2382, allocations: 3.938 kB / 0.6886 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.2385, allocations: 219.7 kB / 0.6888 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2386, allocations: 12 kB / 0.6888 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.239, allocations: 31.95 kB / 0.6889 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2392, allocations: 43.94 kB / 0.6889 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001508/0.2407, allocations: 0.9319 MB / 0.6898 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001565/0.2422, allocations: 1.19 MB / 0.691 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003929/0.2427, allocations: 252.7 kB / 0.6912 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007409/0.2434, allocations: 0.5748 MB / 0.6918 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of Backend: time 3.31e-07/0.2434, allocations: 4 kB / 0.6918 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.2469, allocations: 1.188 MB / 0.6929 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003659/0.2505, allocations: 2.087 MB / 0.695 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of Templates: time 0.03867/0.2892, allocations: 18.73 MB / 0.7133 GB, free: 0.9258 MB / 0.545 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)