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.001303/0.001303, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001309/0.001309, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.251/1.251, 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.7467/0.7467, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.308, allocations: 80.92 MB / 0.5858 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02132/0.3293, allocations: 30.75 MB / 0.6158 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.342, allocations: 10.85 MB / 0.6264 GB, free: 1.055 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.3433, allocations: 19.88 kB / 0.6264 GB, free: 1.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.3446, allocations: 397.2 kB / 0.6268 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.3475, allocations: 1.157 MB / 0.6279 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.3496, allocations: 0.8398 MB / 0.6287 GB, free: 14.65 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.3519, allocations: 2.063 MB / 0.6308 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008308/0.3527, allocations: 0.6834 MB / 0.6314 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.3544, allocations: 0.9882 MB / 0.6324 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008177/0.3552, allocations: 0.6612 MB / 0.633 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.76e-05/0.3553, allocations: 56 kB / 0.6331 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.3564, allocations: 0.6122 MB / 0.6337 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3566, allocations: 167.2 kB / 0.6338 GB, free: 9.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.357, allocations: 433.7 kB / 0.6343 GB, free: 8.977 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.3581, allocations: 1.106 MB / 0.6353 GB, free: 7.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3582, allocations: 0 / 0.6353 GB, free: 7.867 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3582, allocations: 0 / 0.6353 GB, free: 7.867 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3582, allocations: 7.938 kB / 0.6353 GB, free: 7.859 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.001651/0.3598, allocations: 1.152 MB / 0.6365 GB, free: 6.652 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3599, allocations: 13.05 kB / 0.6365 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.36, allocations: 95.81 kB / 0.6366 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.3609, allocations: 0.5963 MB / 0.6372 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3609, allocations: 37 kB / 0.6372 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.361, allocations: 56 kB / 0.6372 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.3617, allocations: 414.4 kB / 0.6376 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3617, allocations: 0 / 0.6376 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.3617, allocations: 16 kB / 0.6377 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3617, allocations: 12 kB / 0.6377 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.3623, allocations: 299.8 kB / 0.6379 GB, free: 5.082 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.002527/0.3649, allocations: 1.865 MB / 0.6398 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3652, allocations: 166.5 kB / 0.6399 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3654, allocations: 80.75 kB / 0.64 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.3656, allocations: 344.4 kB / 0.6403 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3657, allocations: 34.56 kB / 0.6404 GB, free: 2.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.3657, allocations: 0 / 0.6404 GB, free: 2.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.00071/0.3664, allocations: 302.6 kB / 0.6407 GB, free: 2.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3665, allocations: 55.41 kB / 0.6407 GB, free: 1.992 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.3672, allocations: 0.6843 MB / 0.6414 GB, free: 1.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3672, allocations: 29.7 kB / 0.6414 GB, free: 1.262 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3675, allocations: 368.7 kB / 0.6418 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3675, allocations: 63.09 kB / 0.6418 GB, free: 0.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3677, allocations: 97.89 kB / 0.6419 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3679, allocations: 382.8 kB / 0.6423 GB, free: 356 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.3681, allocations: 118.2 kB / 0.6424 GB, free: 236 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3684, allocations: 183.5 kB / 0.6426 GB, free: 28 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.3688, allocations: 237 kB / 0.6428 GB, free: 15.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3688, allocations: 0 / 0.6428 GB, free: 15.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006799/0.3695, allocations: 398.2 kB / 0.6432 GB, free: 15.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3696, allocations: 8 kB / 0.6432 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3696, allocations: 0 / 0.6432 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3696, allocations: 4 kB / 0.6432 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.3706, allocations: 159.8 kB / 0.6433 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.3718, allocations: 2.371 MB / 0.6456 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.3722, allocations: 55.5 kB / 0.6457 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.3723, allocations: 19.98 kB / 0.6457 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003791/0.3727, allocations: 247.8 kB / 0.646 GB, free: 12.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002649/0.3729, allocations: 175.6 kB / 0.6461 GB, free: 12.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000397/0.3733, allocations: 228.5 kB / 0.6463 GB, free: 12.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.3734, allocations: 0 / 0.6463 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006741/0.374, allocations: 376.9 kB / 0.6467 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3741, allocations: 4 kB / 0.6467 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3741, allocations: 7.938 kB / 0.6467 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-06/0.3741, allocations: 0 / 0.6467 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.3745, allocations: 99.88 kB / 0.6468 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3745, allocations: 7.938 kB / 0.6468 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.3749, allocations: 47.7 kB / 0.6469 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.375, allocations: 12 kB / 0.6469 GB, free: 11.46 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.0001473/0.3751, allocations: 205.1 kB / 0.6471 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.3752, allocations: 71.09 kB / 0.6471 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.3759, allocations: 308.8 kB / 0.6474 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3759, allocations: 8 kB / 0.6474 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3759, allocations: 0 / 0.6474 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3759, allocations: 3.984 kB / 0.6474 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.3772, allocations: 0.8801 MB / 0.6483 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3773, allocations: 16 kB / 0.6483 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.3776, allocations: 67.89 kB / 0.6484 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3776, allocations: 0 / 0.6484 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3776, allocations: 8 kB / 0.6484 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3788, allocations: 2.356 MB / 0.6507 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3788, allocations: 3.984 kB / 0.6507 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.3793, allocations: 405.6 kB / 0.6511 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.3796, allocations: 168.1 kB / 0.6512 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.3796, allocations: 4 kB / 0.6512 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.38, allocations: 31.97 kB / 0.6513 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.38, allocations: 15.92 kB / 0.6513 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3801, allocations: 8 kB / 0.6513 GB, free: 6.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005852/0.3806, allocations: 475 kB / 0.6518 GB, free: 6.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3807, allocations: 0 / 0.6518 GB, free: 6.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008023/0.3815, allocations: 355.1 kB / 0.6521 GB, free: 5.906 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.0005082/0.382, allocations: 250.7 kB / 0.6523 GB, free: 5.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.3836, allocations: 491.5 kB / 0.6528 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3836, allocations: 4.062 kB / 0.6528 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.3839, allocations: 145.9 kB / 0.6529 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3853, allocations: 325.8 kB / 0.6533 GB, free: 4.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.387, allocations: 1.106 MB / 0.6543 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.3875, allocations: 0.9218 MB / 0.6552 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000368/0.3879, allocations: 115.2 kB / 0.6553 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.501e-05/0.388, allocations: 51.42 kB / 0.6554 GB, free: 2.465 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.388, allocations: 0 / 0.6554 GB, free: 2.465 MB / 494.1 MB Notification: Performance of Templates: time 0.02157/0.4096, allocations: 12.59 MB / 0.6677 GB, free: 6.117 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)