Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00134/0.00134, allocations: 109.9 kB / 16.42 MB, free: 6.492 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.001538/0.001538, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8/0.8, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.94 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02561/0.1837, allocations: 23.28 MB / 0.6831 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009294/0.1931, allocations: 6.485 MB / 0.6894 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.1943, allocations: 23.81 kB / 0.6894 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1955, allocations: 405.3 kB / 0.6898 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.1984, allocations: 1.143 MB / 0.6909 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.2011, allocations: 1.101 MB / 0.692 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002797/0.2039, allocations: 2.015 MB / 0.694 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.2051, allocations: 0.7412 MB / 0.6947 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.2067, allocations: 0.8407 MB / 0.6955 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2078, allocations: 0.7157 MB / 0.6962 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.208, allocations: 72 kB / 0.6963 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.2099, allocations: 0.9983 MB / 0.6973 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.2102, allocations: 219.1 kB / 0.6975 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000662/0.2109, allocations: 497.2 kB / 0.698 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.2129, allocations: 1.522 MB / 0.6994 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2129, allocations: 0 / 0.6994 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2129, allocations: 0 / 0.6994 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.008e-05/0.213, allocations: 0 / 0.6994 GB, free: 2.113 MB / 0.5294 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.002491/0.2155, allocations: 1.411 MB / 0.7008 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2155, allocations: 8.031 kB / 0.7008 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.2158, allocations: 115.6 kB / 0.7009 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.217, allocations: 0.6983 MB / 0.7016 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.2171, allocations: 45.31 kB / 0.7017 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.2172, allocations: 64 kB / 0.7017 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.2183, allocations: 0.6663 MB / 0.7024 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2183, allocations: 0 / 0.7024 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.2184, allocations: 20 kB / 0.7024 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2184, allocations: 16 kB / 0.7024 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.2193, allocations: 452.8 kB / 0.7028 GB, free: 14.49 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.003422/0.2227, allocations: 2.534 MB / 0.7053 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.2234, allocations: 359.3 kB / 0.7057 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.2238, allocations: 188.8 kB / 0.7058 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.2242, allocations: 348.4 kB / 0.7062 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/0.2247, allocations: 317.1 kB / 0.7065 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.2247, allocations: 0.5469 kB / 0.7065 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001332/0.2261, allocations: 0.6963 MB / 0.7071 GB, free: 9.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.2262, allocations: 243.3 kB / 0.7074 GB, free: 9.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2272, allocations: 0.8522 MB / 0.7082 GB, free: 8.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.2273, allocations: 37.7 kB / 0.7082 GB, free: 8.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.2276, allocations: 428.6 kB / 0.7087 GB, free: 8.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2278, allocations: 126.3 kB / 0.7088 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.228, allocations: 134.1 kB / 0.7089 GB, free: 7.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2281, allocations: 326 kB / 0.7092 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.2285, allocations: 211.1 kB / 0.7094 GB, free: 7.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.229, allocations: 371.6 kB / 0.7098 GB, free: 6.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.2298, allocations: 0.5301 MB / 0.7103 GB, free: 6.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2298, allocations: 4 kB / 0.7103 GB, free: 6.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001258/0.2311, allocations: 0.7331 MB / 0.711 GB, free: 5.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.2311, allocations: 45.56 kB / 0.7111 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2311, allocations: 4 kB / 0.7111 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2312, allocations: 4 kB / 0.7111 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.2321, allocations: 179.8 kB / 0.7112 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000985/0.2331, allocations: 1.778 MB / 0.713 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.2338, allocations: 87.64 kB / 0.7131 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.2339, allocations: 27.98 kB / 0.7131 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005652/0.2345, allocations: 378.1 kB / 0.7134 GB, free: 3.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004822/0.235, allocations: 378.2 kB / 0.7138 GB, free: 2.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000743/0.2357, allocations: 0.523 MB / 0.7143 GB, free: 2.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.2357, allocations: 0 / 0.7143 GB, free: 2.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001176/0.2369, allocations: 0.7306 MB / 0.715 GB, free: 1.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.2369, allocations: 35.73 kB / 0.7151 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.237, allocations: 4.438 kB / 0.7151 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.237, allocations: 12 kB / 0.7151 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.2375, allocations: 127.8 kB / 0.7152 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2375, allocations: 11.98 kB / 0.7152 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.2381, allocations: 75.48 kB / 0.7153 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.2382, allocations: 27.98 kB / 0.7153 GB, free: 1 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.0002944/0.2385, allocations: 255.2 kB / 0.7155 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.2387, allocations: 94.81 kB / 0.7156 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.2399, allocations: 0.6726 MB / 0.7163 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2399, allocations: 0 / 0.7163 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2399, allocations: 4 kB / 0.7163 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.2402, allocations: 219.7 kB / 0.7165 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.2403, allocations: 12.09 kB / 0.7165 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.2407, allocations: 31.91 kB / 0.7166 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2409, allocations: 51.88 kB / 0.7166 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001512/0.2424, allocations: 0.9287 MB / 0.7175 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001495/0.2439, allocations: 1.197 MB / 0.7187 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003814/0.2443, allocations: 248.4 kB / 0.7189 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006837/0.245, allocations: 0.5748 MB / 0.7195 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Backend: time 6.12e-07/0.245, allocations: 0 / 0.7195 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003285/0.2483, allocations: 1.187 MB / 0.7206 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003165/0.2514, allocations: 2.09 MB / 0.7227 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of Templates: time 0.03284/0.2843, allocations: 18.73 MB / 0.741 GB, free: 6.742 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)