Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001202/0.001202, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001343/0.001343, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7901/0.7901, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 62.7 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1565, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02546/0.182, allocations: 23.28 MB / 0.688 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1921, allocations: 6.49 MB / 0.6944 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1933, allocations: 31.81 kB / 0.6944 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.1947, allocations: 401.3 kB / 0.6948 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.1979, allocations: 1.147 MB / 0.6959 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.2007, allocations: 1.086 MB / 0.697 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.2034, allocations: 2.019 MB / 0.6989 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.205, allocations: 0.7451 MB / 0.6997 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.2067, allocations: 0.8367 MB / 0.7005 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.2079, allocations: 0.7197 MB / 0.7012 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.2081, allocations: 72 kB / 0.7013 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.2101, allocations: 0.9944 MB / 0.7022 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.2104, allocations: 219.1 kB / 0.7024 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007121/0.2111, allocations: 0.4895 MB / 0.7029 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.2135, allocations: 1.507 MB / 0.7044 GB, free: 13.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2135, allocations: 3.984 kB / 0.7044 GB, free: 13.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2135, allocations: 4 kB / 0.7044 GB, free: 13.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.2136, allocations: 0 / 0.7044 GB, free: 13.65 MB / 0.545 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.002718/0.2163, allocations: 1.415 MB / 0.7058 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2164, allocations: 9.109 kB / 0.7058 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.2167, allocations: 119.5 kB / 0.7059 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.218, allocations: 0.6944 MB / 0.7066 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.218, allocations: 53.25 kB / 0.7066 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.2182, allocations: 60 kB / 0.7067 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2193, allocations: 0.6624 MB / 0.7073 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2193, allocations: 0 / 0.7073 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.2194, allocations: 24 kB / 0.7074 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2194, allocations: 12 kB / 0.7074 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.2203, allocations: 456.8 kB / 0.7078 GB, free: 10.02 MB / 0.545 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.003901/0.2242, allocations: 2.534 MB / 0.7103 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007394/0.2249, allocations: 361.7 kB / 0.7106 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.2253, allocations: 189.4 kB / 0.7108 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.2256, allocations: 344.4 kB / 0.7111 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00054/0.2262, allocations: 317.3 kB / 0.7114 GB, free: 6.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 2.204e-06/0.2262, allocations: 0 / 0.7114 GB, free: 6.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001425/0.2276, allocations: 0.6887 MB / 0.7121 GB, free: 5.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.2278, allocations: 243.9 kB / 0.7123 GB, free: 5.051 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.2289, allocations: 0.8522 MB / 0.7132 GB, free: 4.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.229, allocations: 37.7 kB / 0.7132 GB, free: 4.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.2293, allocations: 428.5 kB / 0.7136 GB, free: 3.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.2295, allocations: 122.2 kB / 0.7137 GB, free: 3.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.2297, allocations: 134.4 kB / 0.7139 GB, free: 3.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2298, allocations: 330 kB / 0.7142 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.2302, allocations: 215.1 kB / 0.7144 GB, free: 2.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.2308, allocations: 367.6 kB / 0.7147 GB, free: 2.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.2316, allocations: 0.5339 MB / 0.7153 GB, free: 1.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2316, allocations: 0 / 0.7153 GB, free: 1.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001271/0.2329, allocations: 0.7451 MB / 0.716 GB, free: 1.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.2329, allocations: 47.59 kB / 0.716 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2329, allocations: 4 kB / 0.716 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.233, allocations: 4 kB / 0.716 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.2339, allocations: 171.8 kB / 0.7162 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.235, allocations: 1.781 MB / 0.7179 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.2357, allocations: 87.61 kB / 0.718 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.2357, allocations: 20 kB / 0.718 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005975/0.2363, allocations: 377.2 kB / 0.7184 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005151/0.2369, allocations: 378.2 kB / 0.7188 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00076/0.2376, allocations: 0.5308 MB / 0.7193 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.2377, allocations: 0 / 0.7193 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001222/0.2389, allocations: 0.7267 MB / 0.72 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.2389, allocations: 37.69 kB / 0.72 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2389, allocations: 4 kB / 0.72 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.239, allocations: 4 kB / 0.72 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.2394, allocations: 136.2 kB / 0.7202 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.2395, allocations: 7.938 kB / 0.7202 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.2401, allocations: 83.47 kB / 0.7203 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.2402, allocations: 24 kB / 0.7203 GB, free: 12.53 MB / 0.5606 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.0002277/0.2404, allocations: 249.8 kB / 0.7205 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.2406, allocations: 98.81 kB / 0.7206 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.2418, allocations: 0.6763 MB / 0.7213 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.2418, allocations: 0 / 0.7213 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2418, allocations: 3.938 kB / 0.7213 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.2422, allocations: 215.8 kB / 0.7215 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.2423, allocations: 8 kB / 0.7215 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.2427, allocations: 35.95 kB / 0.7215 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.2428, allocations: 43.88 kB / 0.7216 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001523/0.2444, allocations: 0.9402 MB / 0.7225 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001575/0.2459, allocations: 1.197 MB / 0.7236 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004134/0.2464, allocations: 247.9 kB / 0.7239 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008132/0.2472, allocations: 0.5787 MB / 0.7245 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of Backend: time 7.12e-07/0.2472, allocations: 0 / 0.7245 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.2507, allocations: 1.182 MB / 0.7256 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0034/0.2541, allocations: 2.082 MB / 0.7276 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of Templates: time 0.03198/0.2861, allocations: 18.74 MB / 0.7459 GB, free: 2.238 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)