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.001321/0.001321, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001343/0.001343, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7882/0.7882, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 0.506 GB, free: 8.352 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 80.92 MB / 0.5851 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02309/0.3405, allocations: 30.74 MB / 0.6151 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.3564, allocations: 10.84 MB / 0.6257 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.3576, allocations: 27.81 kB / 0.6257 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3589, allocations: 393.2 kB / 0.6261 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.3622, allocations: 1.146 MB / 0.6272 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.3645, allocations: 0.8513 MB / 0.628 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00292/0.3675, allocations: 2.057 MB / 0.63 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.3686, allocations: 0.6797 MB / 0.6307 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.3708, allocations: 0.9804 MB / 0.6317 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.372, allocations: 0.6652 MB / 0.6323 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.3722, allocations: 56 kB / 0.6324 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.3736, allocations: 0.6161 MB / 0.633 GB, free: 9.434 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.3738, allocations: 171.2 kB / 0.6331 GB, free: 9.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.3744, allocations: 429.8 kB / 0.6335 GB, free: 8.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3758, allocations: 1.086 MB / 0.6346 GB, free: 7.754 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3759, allocations: 0 / 0.6346 GB, free: 7.754 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3759, allocations: 0 / 0.6346 GB, free: 7.754 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.3759, allocations: 0 / 0.6346 GB, free: 7.754 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.001766/0.3777, allocations: 1.164 MB / 0.6357 GB, free: 6.535 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3777, allocations: 13.11 kB / 0.6357 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3779, allocations: 99.81 kB / 0.6358 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.3787, allocations: 0.5612 MB / 0.6364 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.3787, allocations: 41 kB / 0.6364 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.3788, allocations: 52 kB / 0.6365 GB, free: 5.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.3795, allocations: 410.4 kB / 0.6369 GB, free: 5.324 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3796, allocations: 0 / 0.6369 GB, free: 5.324 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3796, allocations: 20 kB / 0.6369 GB, free: 5.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3796, allocations: 8 kB / 0.6369 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.3802, allocations: 303.8 kB / 0.6372 GB, free: 5 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.002785/0.383, allocations: 1.881 MB / 0.639 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.3834, allocations: 170.5 kB / 0.6392 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.3836, allocations: 80.81 kB / 0.6393 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003052/0.3839, allocations: 340.4 kB / 0.6396 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.384, allocations: 34.56 kB / 0.6396 GB, free: 2.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.384, allocations: 0 / 0.6396 GB, free: 2.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007374/0.3847, allocations: 306.9 kB / 0.6399 GB, free: 1.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3848, allocations: 55.52 kB / 0.64 GB, free: 1.891 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007976/0.3856, allocations: 0.6881 MB / 0.6406 GB, free: 1.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3856, allocations: 33.7 kB / 0.6407 GB, free: 1.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.3859, allocations: 368.7 kB / 0.641 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.386, allocations: 59.11 kB / 0.6411 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.3861, allocations: 93.95 kB / 0.6412 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3863, allocations: 378.7 kB / 0.6415 GB, free: 260 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.3866, allocations: 118.3 kB / 0.6416 GB, free: 140 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.3869, allocations: 179.5 kB / 0.6418 GB, free: 15.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.3874, allocations: 240.9 kB / 0.642 GB, free: 15.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3874, allocations: 0 / 0.642 GB, free: 15.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007334/0.3882, allocations: 393.8 kB / 0.6424 GB, free: 15.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3882, allocations: 7.938 kB / 0.6424 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3882, allocations: 96 / 0.6424 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3882, allocations: 7.984 kB / 0.6424 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.3892, allocations: 163.9 kB / 0.6426 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.3908, allocations: 2.367 MB / 0.6449 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.3913, allocations: 59.53 kB / 0.645 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.3913, allocations: 19.98 kB / 0.645 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004453/0.3918, allocations: 252 kB / 0.6452 GB, free: 12.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003222/0.3921, allocations: 171.5 kB / 0.6454 GB, free: 12.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000438/0.3926, allocations: 229.2 kB / 0.6456 GB, free: 11.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-06/0.3926, allocations: 0 / 0.6456 GB, free: 11.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006896/0.3933, allocations: 380.2 kB / 0.646 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.3933, allocations: 4 kB / 0.646 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3933, allocations: 3.938 kB / 0.646 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/0.3933, allocations: 4 kB / 0.646 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.3937, allocations: 95.88 kB / 0.6461 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.3938, allocations: 4.031 kB / 0.6461 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.3942, allocations: 47.7 kB / 0.6461 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.3942, allocations: 16 kB / 0.6461 GB, free: 11.37 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.0001638/0.3944, allocations: 200.2 kB / 0.6463 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3945, allocations: 71.03 kB / 0.6464 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.3952, allocations: 318.1 kB / 0.6467 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3952, allocations: 4 kB / 0.6467 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3952, allocations: 0 / 0.6467 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3952, allocations: 3.984 kB / 0.6467 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.3966, allocations: 0.884 MB / 0.6476 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.3966, allocations: 4 kB / 0.6476 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.3969, allocations: 71.95 kB / 0.6476 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3969, allocations: 4 kB / 0.6476 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.397, allocations: 8.125 kB / 0.6476 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.3983, allocations: 2.352 MB / 0.6499 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3983, allocations: 7.969 kB / 0.65 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.3989, allocations: 394 kB / 0.6503 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3991, allocations: 164.1 kB / 0.6505 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.3992, allocations: 11.94 kB / 0.6505 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.3995, allocations: 19.97 kB / 0.6505 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.3996, allocations: 19.86 kB / 0.6505 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3996, allocations: 16 kB / 0.6505 GB, free: 6.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005703/0.4002, allocations: 475 kB / 0.651 GB, free: 6.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4002, allocations: 0 / 0.651 GB, free: 6.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008756/0.4011, allocations: 355 kB / 0.6513 GB, free: 5.816 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.0005232/0.4016, allocations: 243 kB / 0.6516 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.4033, allocations: 0.5071 MB / 0.6521 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4033, allocations: 4 kB / 0.6521 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.4037, allocations: 136.1 kB / 0.6522 GB, free: 4.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4052, allocations: 321.7 kB / 0.6525 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.4073, allocations: 1.164 MB / 0.6536 GB, free: 3.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.4079, allocations: 0.9296 MB / 0.6546 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.4081, allocations: 51.42 kB / 0.6546 GB, free: 2.418 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4081, allocations: 0 / 0.6546 GB, free: 2.418 MB / 494.1 MB Notification: Performance of Templates: time 0.0274/0.4355, allocations: 21.93 MB / 0.676 GB, free: 12.62 MB / 0.5137 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)