Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009589/0.0009591, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006413/0.006413, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005229/0.0005229, allocations: 8.781 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2468, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.4365/0.6833, allocations: 18.76 MB / 0.6063 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008719/0.6921, allocations: 5.122 MB / 0.6113 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.6934, allocations: 17.75 kB / 0.6113 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.6943, allocations: 211 kB / 0.6115 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.6967, allocations: 0.7091 MB / 0.6122 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.6991, allocations: 0.7846 MB / 0.613 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.7015, allocations: 1.939 MB / 0.6149 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.7022, allocations: 444.9 kB / 0.6153 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.7033, allocations: 0.5629 MB / 0.6158 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.704, allocations: 0.5173 MB / 0.6163 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.7041, allocations: 30.66 kB / 0.6164 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.7054, allocations: 0.6518 MB / 0.617 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.7055, allocations: 137.3 kB / 0.6171 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.706, allocations: 370.2 kB / 0.6175 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.7073, allocations: 1.041 MB / 0.6185 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.7073, allocations: 10.66 kB / 0.6185 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7073, allocations: 0 / 0.6185 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.7073, allocations: 0 / 0.6185 GB, free: 33.15 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.001749/0.7091, allocations: 0.9909 MB / 0.6195 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7091, allocations: 10 kB / 0.6195 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.7093, allocations: 83.44 kB / 0.6196 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.7099, allocations: 0.5013 MB / 0.6201 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.71, allocations: 43.94 kB / 0.6201 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/0.7101, allocations: 52.5 kB / 0.6202 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.7111, allocations: 0.637 MB / 0.6208 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.7112, allocations: 6.781 kB / 0.6208 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.7112, allocations: 19.19 kB / 0.6208 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.7112, allocations: 11.59 kB / 0.6208 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.7123, allocations: 0.5178 MB / 0.6213 GB, free: 31.93 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.002888/0.7152, allocations: 3.185 MB / 0.6244 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.7158, allocations: 361 kB / 0.6248 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.7163, allocations: 256.7 kB / 0.625 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/0.7167, allocations: 346.9 kB / 0.6254 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.7167, allocations: 37.19 kB / 0.6254 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.314e-06/0.7167, allocations: 0 / 0.6254 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.002234/0.719, allocations: 0.873 MB / 0.6262 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.719, allocations: 58.34 kB / 0.6263 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.7196, allocations: 0.5829 MB / 0.6269 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.7197, allocations: 32.83 kB / 0.6269 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.72, allocations: 329.2 kB / 0.6272 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.7201, allocations: 133.7 kB / 0.6273 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.7201, allocations: 60.44 kB / 0.6274 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7202, allocations: 375.4 kB / 0.6278 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.7207, allocations: 225.5 kB / 0.628 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.7213, allocations: 388.5 kB / 0.6283 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.7224, allocations: 0.5954 MB / 0.6289 GB, free: 27.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.7224, allocations: 3.344 kB / 0.6289 GB, free: 27.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001391/0.7238, allocations: 0.7485 MB / 0.6297 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.7239, allocations: 217.7 kB / 0.6299 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7239, allocations: 5.875 kB / 0.6299 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.7246, allocations: 157.6 kB / 0.63 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.7251, allocations: 145.2 kB / 0.6302 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004638/0.7256, allocations: 0.6229 MB / 0.6308 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007397/0.7263, allocations: 112.8 kB / 0.6309 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.7264, allocations: 30.62 kB / 0.6309 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.7264, allocations: 3.125 kB / 0.6309 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/0.7275, allocations: 0.622 MB / 0.6315 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7276, allocations: 3.188 kB / 0.6315 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.7276, allocations: 9.078 kB / 0.6315 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.7281, allocations: 170.4 kB / 0.6317 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.7281, allocations: 10.16 kB / 0.6317 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.7287, allocations: 91.09 kB / 0.6318 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.7288, allocations: 31.84 kB / 0.6318 GB, free: 26.22 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003487/0.7291, allocations: 273.2 kB / 0.6321 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.7292, allocations: 68.48 kB / 0.6321 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.7306, allocations: 0.6737 MB / 0.6328 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.7307, allocations: 3.156 kB / 0.6328 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.7307, allocations: 7.125 kB / 0.6328 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.7307, allocations: 10.72 kB / 0.6328 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.7331, allocations: 1.394 MB / 0.6342 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7331, allocations: 4.094 kB / 0.6342 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.7334, allocations: 91.17 kB / 0.6343 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.7339, allocations: 127.5 kB / 0.6344 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.7339, allocations: 20.23 kB / 0.6344 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005832/0.7345, allocations: 0.6372 MB / 0.635 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7345, allocations: 0 / 0.635 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.7358, allocations: 0.7334 MB / 0.6358 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.7361, allocations: 201.4 kB / 0.6359 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.7362, allocations: 9.984 kB / 0.636 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.7366, allocations: 55.16 kB / 0.636 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.7367, allocations: 35.59 kB / 0.636 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.7368, allocations: 15.84 kB / 0.6361 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004835/0.7373, allocations: 406 kB / 0.6364 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7373, allocations: 0 / 0.6364 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001229/0.7385, allocations: 393.5 kB / 0.6368 GB, free: 23.54 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006184/0.7391, allocations: 307.9 kB / 0.6371 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.741, allocations: 0.9081 MB / 0.638 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.741, allocations: 0 / 0.638 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.7417, allocations: 300.5 kB / 0.6383 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7432, allocations: 270.1 kB / 0.6385 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.7454, allocations: 1.331 MB / 0.6398 GB, free: 22.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.7459, allocations: 0.9091 MB / 0.6407 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008124/0.7468, allocations: 158.2 kB / 0.6409 GB, free: 21.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.747, allocations: 61.59 kB / 0.6409 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.747, allocations: 3.938 kB / 0.6409 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.03129/0.7783, allocations: 12.2 MB / 0.6529 GB, free: 20.4 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)