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.0008457/0.0008457, allocations: 90.12 kB / 15.06 MB, free: 1.094 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.001054/0.001054, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9729/0.9729, allocations: 135.3 MB / 426.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003916, allocations: 12 kB / 0.507 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 82.3 MB / 0.5874 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.4254/0.6318, allocations: 28.28 MB / 0.615 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01799/0.6499, allocations: 10.16 MB / 0.6249 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.6517, allocations: 24.41 kB / 0.6249 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.6533, allocations: 274.5 kB / 0.6252 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.6577, allocations: 0.9243 MB / 0.6261 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.6612, allocations: 0.7056 MB / 0.6268 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003907/0.6651, allocations: 2.408 MB / 0.6291 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.6665, allocations: 0.524 MB / 0.6296 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.6691, allocations: 0.8235 MB / 0.6304 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.6707, allocations: 0.6398 MB / 0.6311 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.6709, allocations: 30.25 kB / 0.6311 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.6729, allocations: 0.5148 MB / 0.6316 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.6732, allocations: 124.3 kB / 0.6317 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.6736, allocations: 178.6 kB / 0.6319 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.675, allocations: 0.7632 MB / 0.6326 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.675, allocations: 0 / 0.6326 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.675, allocations: 0 / 0.6326 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.828e-05/0.6751, allocations: 3.938 kB / 0.6326 GB, free: 29.64 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002691/0.6778, allocations: 1.031 MB / 0.6336 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6778, allocations: 8.938 kB / 0.6337 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.6781, allocations: 98.42 kB / 0.6338 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.6795, allocations: 0.5291 MB / 0.6343 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.6796, allocations: 40.53 kB / 0.6343 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6797, allocations: 57.56 kB / 0.6344 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.6809, allocations: 407 kB / 0.6348 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6809, allocations: 0 / 0.6348 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.681, allocations: 26.44 kB / 0.6348 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.681, allocations: 9.781 kB / 0.6348 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.682, allocations: 306.8 kB / 0.6351 GB, free: 28.18 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.003913/0.6859, allocations: 1.86 MB / 0.6369 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.6863, allocations: 179.1 kB / 0.6371 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6865, allocations: 84.97 kB / 0.6371 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.6868, allocations: 337.7 kB / 0.6375 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.6868, allocations: 42.5 kB / 0.6375 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.6868, allocations: 0 / 0.6375 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006599/0.6875, allocations: 321.2 kB / 0.6378 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.6875, allocations: 58.88 kB / 0.6379 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.6882, allocations: 0.6734 MB / 0.6385 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6882, allocations: 33.14 kB / 0.6386 GB, free: 25.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.6884, allocations: 364.5 kB / 0.6389 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.6885, allocations: 67.86 kB / 0.639 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.6885, allocations: 7.156 kB / 0.639 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.6886, allocations: 373.9 kB / 0.6393 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.6888, allocations: 106.4 kB / 0.6394 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.689, allocations: 185.4 kB / 0.6396 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.6893, allocations: 126.5 kB / 0.6397 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6893, allocations: 2.781 kB / 0.6397 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006059/0.6899, allocations: 395.9 kB / 0.6401 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.6899, allocations: 105.3 kB / 0.6402 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.69, allocations: 0 / 0.6402 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.69, allocations: 3.094 kB / 0.6402 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000888/0.6909, allocations: 164.8 kB / 0.6404 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007867/0.6917, allocations: 2.363 MB / 0.6427 GB, free: 22.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.6922, allocations: 92.52 kB / 0.6428 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.6923, allocations: 13.38 kB / 0.6428 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.6923, allocations: 6.281 kB / 0.6428 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004812/0.6928, allocations: 291.2 kB / 0.6431 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.6928, allocations: 0 / 0.6431 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.6928, allocations: 2.906 kB / 0.6431 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.6932, allocations: 102.1 kB / 0.6432 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6932, allocations: 11.09 kB / 0.6432 GB, free: 22.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.6936, allocations: 81.05 kB / 0.6433 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.6937, allocations: 15.38 kB / 0.6433 GB, free: 22.17 MB / 0.4981 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 () * 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 (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 0.0002293/0.6939, allocations: 266 kB / 0.6435 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/0.694, allocations: 64.92 kB / 0.6436 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.6946, allocations: 323.1 kB / 0.6439 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.6946, allocations: 1.969 kB / 0.6439 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6946, allocations: 2.094 kB / 0.6439 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6946, allocations: 3.469 kB / 0.6439 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.6958, allocations: 0.9014 MB / 0.6448 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6958, allocations: 6.25 kB / 0.6448 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.6961, allocations: 78.88 kB / 0.6449 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.6961, allocations: 2.406 kB / 0.6449 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.6961, allocations: 8.406 kB / 0.6449 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006252/0.6968, allocations: 2.359 MB / 0.6472 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6968, allocations: 0 / 0.6472 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.6972, allocations: 421.4 kB / 0.6476 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.6974, allocations: 179.6 kB / 0.6478 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.6975, allocations: 3.125 kB / 0.6478 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.6979, allocations: 49.89 kB / 0.6478 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.698, allocations: 22.16 kB / 0.6478 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.698, allocations: 7.875 kB / 0.6478 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004583/0.6984, allocations: 467.4 kB / 0.6483 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6985, allocations: 0 / 0.6483 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008451/0.6993, allocations: 356.5 kB / 0.6486 GB, free: 18.11 MB / 0.4981 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 () * 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 (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.0004804/0.6998, allocations: 249.1 kB / 0.6489 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.7012, allocations: 0.4979 MB / 0.6493 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7012, allocations: 0 / 0.6493 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.7015, allocations: 146.6 kB / 0.6495 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.7032, allocations: 370.1 kB / 0.6498 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.7049, allocations: 1.336 MB / 0.6511 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.7052, allocations: 0.9339 MB / 0.652 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004683/0.7057, allocations: 116 kB / 0.6522 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/0.7058, allocations: 50.94 kB / 0.6522 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.7058, allocations: 2.688 kB / 0.6522 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.02603/0.7318, allocations: 11.97 MB / 0.6639 GB, free: 15.2 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)