Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7176/0.7176, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 396.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 105.6 kB / 479 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.157e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 81.59 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.467, allocations: 358.6 MB / 0.985 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/1.467, allocations: 93.77 kB / 0.985 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.227/2.694, allocations: 417.6 MB / 1.393 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/2.694, allocations: 0 / 1.393 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.792e-05/2.694, allocations: 20 kB / 1.393 GB, free: 124.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001659/2.696, allocations: 1.05 MB / 1.394 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.696, allocations: 8.031 kB / 1.394 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/2.696, allocations: 107 kB / 1.394 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/2.697, allocations: 0.5683 MB / 1.395 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/2.697, allocations: 39.78 kB / 1.395 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/2.697, allocations: 56 kB / 1.395 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/2.698, allocations: 378.5 kB / 1.395 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/2.698, allocations: 3.938 kB / 1.395 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/2.698, allocations: 16 kB / 1.395 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/2.698, allocations: 12 kB / 1.395 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/2.698, allocations: 260 kB / 1.395 GB, free: 122.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002328/2.7, allocations: 1.867 MB / 1.397 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/2.701, allocations: 142.9 kB / 1.397 GB, free: 120 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/2.701, allocations: 76.8 kB / 1.397 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/2.701, allocations: 342.9 kB / 1.398 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/2.701, allocations: 30.56 kB / 1.398 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/2.701, allocations: 0 / 1.398 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0003794/2.701, allocations: 224.7 kB / 1.398 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/2.701, allocations: 51.41 kB / 1.398 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/2.702, allocations: 0.5929 MB / 1.399 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/2.702, allocations: 29.81 kB / 1.399 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/2.702, allocations: 368.6 kB / 1.399 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/2.702, allocations: 65.36 kB / 1.399 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/2.702, allocations: 8 kB / 1.399 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/2.702, allocations: 378.8 kB / 1.399 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/2.703, allocations: 80.75 kB / 1.399 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/2.703, allocations: 205.2 kB / 1.4 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/2.703, allocations: 108.9 kB / 1.4 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/2.703, allocations: 0 / 1.4 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004541/2.703, allocations: 342.7 kB / 1.4 GB, free: 117 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/2.704, allocations: 285.9 kB / 1.4 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/2.704, allocations: 0 / 1.4 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/2.704, allocations: 4 kB / 1.4 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/2.704, allocations: 135.6 kB / 1.4 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009512/2.705, allocations: 2.369 MB / 1.403 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/2.706, allocations: 89.84 kB / 1.403 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/2.706, allocations: 15.98 kB / 1.403 GB, free: 114 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/2.706, allocations: 4.938 kB / 1.403 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003707/2.706, allocations: 260 kB / 1.403 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/2.706, allocations: 3.938 kB / 1.403 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/2.706, allocations: 0 / 1.403 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/2.707, allocations: 107.4 kB / 1.403 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/2.707, allocations: 0 / 1.403 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/2.707, allocations: 86.23 kB / 1.403 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/2.707, allocations: 19.69 kB / 1.403 GB, free: 113.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.337e-05/2.707, allocations: 133 kB / 1.403 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/2.708, allocations: 71.06 kB / 1.403 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/2.708, allocations: 287 kB / 1.404 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/2.708, allocations: 4 kB / 1.404 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/2.708, allocations: 0 / 1.404 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/2.708, allocations: 3.984 kB / 1.404 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/2.709, allocations: 0.8674 MB / 1.405 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/2.709, allocations: 0 / 1.405 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/2.709, allocations: 75.88 kB / 1.405 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/2.709, allocations: 2.75 kB / 1.405 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/2.709, allocations: 11.94 kB / 1.405 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006813/2.71, allocations: 2.35 MB / 1.407 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.71, allocations: 4.031 kB / 1.407 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/2.71, allocations: 423.4 kB / 1.407 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/2.711, allocations: 172 kB / 1.408 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/2.711, allocations: 8 kB / 1.408 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/2.711, allocations: 50 kB / 1.408 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/2.711, allocations: 19.97 kB / 1.408 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/2.711, allocations: 8 kB / 1.408 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004285/2.712, allocations: 467.1 kB / 1.408 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/2.712, allocations: 3 kB / 1.408 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009548/2.713, allocations: 387.3 kB / 1.408 GB, free: 108.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007815/2.713, allocations: 470 kB / 1.409 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001028/2.714, allocations: 434.5 kB / 1.409 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/2.714, allocations: 0 / 1.409 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/2.715, allocations: 115.8 kB / 1.409 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/2.716, allocations: 372.2 kB / 1.41 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/2.718, allocations: 0.7627 MB / 1.411 GB, free: 106 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/2.718, allocations: 0.9475 MB / 1.411 GB, free: 105 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005728/2.718, allocations: 153.1 kB / 1.412 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/2.719, allocations: 43.42 kB / 1.412 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/2.719, allocations: 0 / 1.412 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.023/2.742, allocations: 16.59 MB / 1.428 GB, free: 88.88 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)