Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001587/0.001588, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.504/1.504, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8233/0.8233, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 66.55 kB / 0.5863 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1931, allocations: 80.91 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02568/0.2188, allocations: 22.32 MB / 0.6871 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007913/0.2268, allocations: 5.231 MB / 0.6922 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2279, allocations: 23.81 kB / 0.6922 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.2291, allocations: 321.8 kB / 0.6925 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.2321, allocations: 0.9125 MB / 0.6934 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.2344, allocations: 0.7129 MB / 0.6941 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.2367, allocations: 1.503 MB / 0.6956 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009602/0.2377, allocations: 0.5145 MB / 0.6961 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.2392, allocations: 0.6536 MB / 0.6967 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009934/0.2403, allocations: 481.8 kB / 0.6972 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.2404, allocations: 56 kB / 0.6973 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.2421, allocations: 0.6356 MB / 0.6979 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.2423, allocations: 151.3 kB / 0.698 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006195/0.243, allocations: 358.1 kB / 0.6984 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.245, allocations: 1.078 MB / 0.6994 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2451, allocations: 4 kB / 0.6994 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2451, allocations: 0 / 0.6994 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.951e-05/0.2451, allocations: 0 / 0.6994 GB, free: 2.77 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002398/0.2475, allocations: 1.081 MB / 0.7005 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2476, allocations: 9.109 kB / 0.7005 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.2478, allocations: 84.42 kB / 0.7006 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.2489, allocations: 0.5899 MB / 0.7011 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.249, allocations: 28.66 kB / 0.7012 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.2491, allocations: 40 kB / 0.7012 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.2497, allocations: 306 kB / 0.7015 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2497, allocations: 0 / 0.7015 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.2498, allocations: 20 kB / 0.7015 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.2498, allocations: 16.59 kB / 0.7015 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.2504, allocations: 254.5 kB / 0.7018 GB, free: 264 kB / 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.002808/0.2532, allocations: 1.569 MB / 0.7033 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.2536, allocations: 194.4 kB / 0.7035 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.2538, allocations: 95.16 kB / 0.7036 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004336/0.2543, allocations: 425.5 kB / 0.704 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2543, allocations: 34.5 kB / 0.704 GB, free: 13.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.365e-06/0.2543, allocations: 0 / 0.704 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0008542/0.2552, allocations: 333.4 kB / 0.7043 GB, free: 13.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.2552, allocations: 55.41 kB / 0.7044 GB, free: 13.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.2561, allocations: 0.6527 MB / 0.705 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.2562, allocations: 33.7 kB / 0.7051 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.2565, allocations: 300.8 kB / 0.7054 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.2565, allocations: 79.3 kB / 0.7054 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.2567, allocations: 106.1 kB / 0.7055 GB, free: 12.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2569, allocations: 366.7 kB / 0.7059 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.2572, allocations: 146.5 kB / 0.706 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.2577, allocations: 210.3 kB / 0.7062 GB, free: 11.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.2583, allocations: 289.1 kB / 0.7065 GB, free: 11.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2583, allocations: 0 / 0.7065 GB, free: 11.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009135/0.2592, allocations: 448.9 kB / 0.7069 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2593, allocations: 4 kB / 0.7069 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2593, allocations: 0 / 0.7069 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2593, allocations: 4 kB / 0.7069 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/0.2601, allocations: 143.9 kB / 0.7071 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007858/0.2609, allocations: 1.184 MB / 0.7082 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.2615, allocations: 55.92 kB / 0.7083 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.2616, allocations: 19.98 kB / 0.7083 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005419/0.2621, allocations: 272.9 kB / 0.7086 GB, free: 8.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003941/0.2625, allocations: 202.3 kB / 0.7087 GB, free: 8.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005608/0.2631, allocations: 285.5 kB / 0.709 GB, free: 8.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.2631, allocations: 0 / 0.709 GB, free: 8.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001036/0.2642, allocations: 445 kB / 0.7094 GB, free: 7.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2642, allocations: 8 kB / 0.7095 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2642, allocations: 4 kB / 0.7095 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2642, allocations: 4 kB / 0.7095 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.2647, allocations: 111.8 kB / 0.7096 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2647, allocations: 128 / 0.7096 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.2652, allocations: 47.77 kB / 0.7096 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.2653, allocations: 19.98 kB / 0.7096 GB, free: 7.785 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.2655, allocations: 208.1 kB / 0.7098 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.2657, allocations: 67.52 kB / 0.7099 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.2665, allocations: 315.2 kB / 0.7102 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2665, allocations: 4 kB / 0.7102 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2665, allocations: 0 / 0.7102 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.2668, allocations: 172.6 kB / 0.7104 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.2668, allocations: 11.94 kB / 0.7104 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.2671, allocations: 15.97 kB / 0.7104 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.2672, allocations: 11.98 kB / 0.7104 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008919/0.2681, allocations: 390.5 kB / 0.7108 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009073/0.269, allocations: 0.6002 MB / 0.7114 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002238/0.2693, allocations: 112 kB / 0.7115 GB, free: 5.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006468/0.2699, allocations: 451 kB / 0.7119 GB, free: 5.398 MB / 0.545 GB Notification: Performance of Backend: time 4.31e-07/0.2699, allocations: 0 / 0.7119 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.2724, allocations: 0.7085 MB / 0.7126 GB, free: 4.691 MB / 0.545 GB Notification: Performance of SimCode: time 0.002856/0.2753, allocations: 1.653 MB / 0.7142 GB, free: 2.996 MB / 0.545 GB Notification: Performance of Templates: time 0.02636/0.3017, allocations: 13.02 MB / 0.7269 GB, free: 6.117 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)