Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008697/0.0008695, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008583/0.0008583, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8404/0.8404, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002894, allocations: 8 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01554/0.1603, allocations: 16.31 MB / 0.6031 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2757/0.436, allocations: 4.465 MB / 0.6075 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/0.4368, allocations: 17.19 kB / 0.6075 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.4375, allocations: 244.8 kB / 0.6077 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.4398, allocations: 0.8194 MB / 0.6085 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.4423, allocations: 0.9224 MB / 0.6094 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.4438, allocations: 0.9514 MB / 0.6104 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.4444, allocations: 422.4 kB / 0.6108 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.4453, allocations: 0.5073 MB / 0.6113 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.4458, allocations: 406.2 kB / 0.6117 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.157e-05/0.4459, allocations: 30.69 kB / 0.6117 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.4471, allocations: 0.634 MB / 0.6123 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4472, allocations: 126.7 kB / 0.6124 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.4474, allocations: 156.6 kB / 0.6126 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.448, allocations: 0.7459 MB / 0.6133 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.448, allocations: 1.859 kB / 0.6133 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4481, allocations: 0 / 0.6133 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.4481, allocations: 0 / 0.6133 GB, free: 34.58 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001477/0.4496, allocations: 1 MB / 0.6143 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.4496, allocations: 8.656 kB / 0.6143 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.4497, allocations: 82.69 kB / 0.6144 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.4503, allocations: 486.3 kB / 0.6148 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.4504, allocations: 39.81 kB / 0.6149 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.4504, allocations: 49.94 kB / 0.6149 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/0.4513, allocations: 0.6309 MB / 0.6155 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4513, allocations: 5.719 kB / 0.6155 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.4514, allocations: 20.47 kB / 0.6156 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.4514, allocations: 13.38 kB / 0.6156 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.4523, allocations: 0.514 MB / 0.6161 GB, free: 33.43 MB / 0.4981 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.002784/0.4551, allocations: 3.198 MB / 0.6192 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.4557, allocations: 361.1 kB / 0.6195 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.456, allocations: 341.5 kB / 0.6199 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.456, allocations: 37.19 kB / 0.6199 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 3.065e-06/0.456, allocations: 0 / 0.6199 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001854/0.4579, allocations: 0.868 MB / 0.6207 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.4579, allocations: 54.38 kB / 0.6208 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.4585, allocations: 0.5853 MB / 0.6214 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.4585, allocations: 31.83 kB / 0.6214 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.4587, allocations: 330.4 kB / 0.6217 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.4588, allocations: 129.4 kB / 0.6218 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.4588, allocations: 12.03 kB / 0.6219 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.4589, allocations: 373.2 kB / 0.6222 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.4594, allocations: 219.3 kB / 0.6224 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.4599, allocations: 381.1 kB / 0.6228 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.4603, allocations: 255.8 kB / 0.623 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4604, allocations: 0 / 0.623 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001234/0.4616, allocations: 0.7256 MB / 0.6237 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/0.4619, allocations: 1.749 MB / 0.6254 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.4619, allocations: 3.062 kB / 0.6254 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.4625, allocations: 153.7 kB / 0.6256 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.4631, allocations: 155.6 kB / 0.6257 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004632/0.4635, allocations: 0.6296 MB / 0.6264 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.4641, allocations: 104.2 kB / 0.6265 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.4641, allocations: 35 kB / 0.6265 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.4642, allocations: 3.188 kB / 0.6265 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.4652, allocations: 0.6232 MB / 0.6271 GB, free: 27.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4652, allocations: 9.234 kB / 0.6271 GB, free: 27.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.4652, allocations: 7.969 kB / 0.6271 GB, free: 27.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.4658, allocations: 158.7 kB / 0.6273 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4658, allocations: 14.73 kB / 0.6273 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.4663, allocations: 94.67 kB / 0.6274 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.4663, allocations: 36.33 kB / 0.6274 GB, free: 27.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.4666, allocations: 265.7 kB / 0.6277 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.4666, allocations: 71.12 kB / 0.6277 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.4679, allocations: 0.6718 MB / 0.6284 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4679, allocations: 3.188 kB / 0.6284 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4679, allocations: 4 kB / 0.6284 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4679, allocations: 3.375 kB / 0.6284 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.47, allocations: 1.399 MB / 0.6298 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.47, allocations: 0 / 0.6298 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.4703, allocations: 95.8 kB / 0.6299 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/0.4707, allocations: 127 kB / 0.63 GB, free: 26.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.4707, allocations: 16.94 kB / 0.63 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000429/0.4712, allocations: 0.6364 MB / 0.6306 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4712, allocations: 2.969 kB / 0.6306 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4722, allocations: 0.7688 MB / 0.6314 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.4725, allocations: 201.6 kB / 0.6316 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.4725, allocations: 9.594 kB / 0.6316 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.4729, allocations: 56.2 kB / 0.6316 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.473, allocations: 32.52 kB / 0.6316 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.4731, allocations: 25.31 kB / 0.6317 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003218/0.4734, allocations: 400 kB / 0.6321 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4734, allocations: 0 / 0.6321 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009335/0.4743, allocations: 390.2 kB / 0.6324 GB, free: 25.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004928/0.4748, allocations: 293.3 kB / 0.6327 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.4765, allocations: 0.9257 MB / 0.6336 GB, free: 24.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4765, allocations: 0.6875 kB / 0.6336 GB, free: 24.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.4771, allocations: 297.8 kB / 0.6339 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4783, allocations: 260.3 kB / 0.6341 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.4796, allocations: 1.29 MB / 0.6354 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.4799, allocations: 0.9315 MB / 0.6363 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004699/0.4804, allocations: 155.9 kB / 0.6365 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.4805, allocations: 61.88 kB / 0.6365 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4805, allocations: 0 / 0.6365 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.01878/0.4993, allocations: 11.72 MB / 0.648 GB, free: 22.61 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: