Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.001117/0.001117, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.285/1.285, 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-master/package.mo): time 0.7908/0.7908, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.5068 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3872, allocations: 80.9 MB / 0.5858 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02398/0.4112, allocations: 30.75 MB / 0.6158 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.4259, allocations: 10.85 MB / 0.6264 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.4273, allocations: 23.81 kB / 0.6264 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.4284, allocations: 393.3 kB / 0.6268 GB, free: 468 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.4317, allocations: 1.154 MB / 0.6279 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.434, allocations: 0.8543 MB / 0.6287 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.4364, allocations: 2.058 MB / 0.6308 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008653/0.4373, allocations: 0.6796 MB / 0.6314 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.4391, allocations: 0.9803 MB / 0.6324 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009225/0.44, allocations: 0.673 MB / 0.633 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.394e-05/0.4401, allocations: 60 kB / 0.6331 GB, free: 9.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.4413, allocations: 0.6083 MB / 0.6337 GB, free: 9.371 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.4415, allocations: 167.2 kB / 0.6338 GB, free: 9.207 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.442, allocations: 433.7 kB / 0.6343 GB, free: 8.781 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.4432, allocations: 1.109 MB / 0.6353 GB, free: 7.672 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4433, allocations: 0 / 0.6353 GB, free: 7.672 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4433, allocations: 0 / 0.6353 GB, free: 7.672 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4433, allocations: 0 / 0.6353 GB, free: 7.672 MB / 478.1 MB 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.001732/0.445, allocations: 1.16 MB / 0.6365 GB, free: 6.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4451, allocations: 13.11 kB / 0.6365 GB, free: 6.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.4452, allocations: 95.81 kB / 0.6366 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4462, allocations: 0.5885 MB / 0.6371 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.4463, allocations: 41 kB / 0.6372 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.4464, allocations: 60 kB / 0.6372 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006935/0.4471, allocations: 410.4 kB / 0.6376 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4471, allocations: 0 / 0.6376 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.4471, allocations: 20 kB / 0.6377 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.4471, allocations: 12 kB / 0.6377 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.4477, allocations: 299.8 kB / 0.638 GB, free: 4.887 MB / 478.1 MB 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.002753/0.4505, allocations: 1.857 MB / 0.6398 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.4509, allocations: 174.4 kB / 0.6399 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.4511, allocations: 83.22 kB / 0.64 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.4514, allocations: 332.4 kB / 0.6403 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.4514, allocations: 42.55 kB / 0.6404 GB, free: 2.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.4515, allocations: 0 / 0.6404 GB, free: 2.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007391/0.4522, allocations: 300.6 kB / 0.6407 GB, free: 1.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4522, allocations: 59.39 kB / 0.6407 GB, free: 1.797 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.453, allocations: 0.6804 MB / 0.6414 GB, free: 1.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.453, allocations: 33.7 kB / 0.6414 GB, free: 1.066 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.4534, allocations: 364.8 kB / 0.6418 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.4534, allocations: 67.05 kB / 0.6418 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4536, allocations: 93.95 kB / 0.6419 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.4538, allocations: 374.7 kB / 0.6423 GB, free: 168 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.454, allocations: 118.3 kB / 0.6424 GB, free: 48 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.4544, allocations: 179.5 kB / 0.6426 GB, free: 15.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.4548, allocations: 244.9 kB / 0.6428 GB, free: 15.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4548, allocations: 4 kB / 0.6428 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000663/0.4555, allocations: 394.2 kB / 0.6432 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4555, allocations: 6.344 kB / 0.6432 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4555, allocations: 0 / 0.6432 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4555, allocations: 4 kB / 0.6432 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4565, allocations: 171.8 kB / 0.6433 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.4578, allocations: 2.367 MB / 0.6457 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.4583, allocations: 55.48 kB / 0.6457 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.4583, allocations: 16.09 kB / 0.6457 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003735/0.4587, allocations: 248 kB / 0.646 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002708/0.459, allocations: 179.5 kB / 0.6461 GB, free: 12.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004417/0.4594, allocations: 228.5 kB / 0.6463 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.4594, allocations: 4 kB / 0.6463 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006253/0.4601, allocations: 372.9 kB / 0.6467 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.4601, allocations: 4 kB / 0.6467 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4601, allocations: 11.88 kB / 0.6467 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/0.4601, allocations: 3.984 kB / 0.6467 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.4605, allocations: 99.88 kB / 0.6468 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4605, allocations: 4 kB / 0.6468 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.4609, allocations: 47.75 kB / 0.6469 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.461, allocations: 8 kB / 0.6469 GB, free: 11.27 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.4612, allocations: 209.1 kB / 0.6471 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.4613, allocations: 71.09 kB / 0.6471 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.4619, allocations: 314.3 kB / 0.6474 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.462, allocations: 4 kB / 0.6474 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.462, allocations: 3.938 kB / 0.6475 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.462, allocations: 0 / 0.6475 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.4633, allocations: 0.8822 MB / 0.6483 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4633, allocations: 4 kB / 0.6483 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.4636, allocations: 71.95 kB / 0.6484 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4636, allocations: 4 kB / 0.6484 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.4637, allocations: 11.98 kB / 0.6484 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.465, allocations: 2.348 MB / 0.6507 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.465, allocations: 4.031 kB / 0.6507 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.4656, allocations: 405.8 kB / 0.6511 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.4658, allocations: 164.1 kB / 0.6512 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.4659, allocations: 8 kB / 0.6512 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.4662, allocations: 15.97 kB / 0.6513 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4662, allocations: 19.92 kB / 0.6513 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.4663, allocations: 11.98 kB / 0.6513 GB, free: 6.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006371/0.4669, allocations: 479 kB / 0.6518 GB, free: 6.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4669, allocations: 4 kB / 0.6518 GB, free: 6.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009164/0.4678, allocations: 351 kB / 0.6521 GB, free: 5.719 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006044/0.4685, allocations: 243.6 kB / 0.6523 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.4701, allocations: 0.4995 MB / 0.6528 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4701, allocations: 3.938 kB / 0.6528 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.4705, allocations: 134.2 kB / 0.6529 GB, free: 4.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.4719, allocations: 321.6 kB / 0.6532 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.4736, allocations: 1.105 MB / 0.6543 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.4742, allocations: 0.9374 MB / 0.6552 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.4746, allocations: 113.4 kB / 0.6554 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4747, allocations: 47.44 kB / 0.6554 GB, free: 2.27 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4747, allocations: 0 / 0.6554 GB, free: 2.27 MB / 494.1 MB Notification: Performance of Templates: time 0.02287/0.4976, allocations: 12.58 MB / 0.6677 GB, free: 5.926 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)