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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001211, allocations: 99.97 kB / 16.35 MB, free: 5.828 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.001221/0.001222, allocations: 191.1 kB / 17.29 MB, free: 5.484 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7979/0.7979, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3716, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02325/0.3949, allocations: 30.75 MB / 0.6115 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.411, allocations: 10.85 MB / 0.6221 GB, free: 4.547 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.4136, allocations: 23.88 kB / 0.6221 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4152, allocations: 393.2 kB / 0.6225 GB, free: 4.137 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004736/0.4199, allocations: 1.149 MB / 0.6236 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.4227, allocations: 0.8528 MB / 0.6245 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003506/0.4262, allocations: 2.057 MB / 0.6265 GB, free: 76 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.4276, allocations: 0.6796 MB / 0.6271 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.4301, allocations: 0.9843 MB / 0.6281 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.4314, allocations: 0.669 MB / 0.6288 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.4316, allocations: 52 kB / 0.6288 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.433, allocations: 0.6161 MB / 0.6294 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.4332, allocations: 171.2 kB / 0.6296 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000501/0.4337, allocations: 433.7 kB / 0.63 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.4353, allocations: 1.098 MB / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4353, allocations: 0 / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4353, allocations: 0 / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.4353, allocations: 0 / 0.6311 GB, free: 11.36 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.001918/0.4372, allocations: 1.164 MB / 0.6322 GB, free: 10.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4373, allocations: 12.03 kB / 0.6322 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.4375, allocations: 99.75 kB / 0.6323 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.4384, allocations: 0.5885 MB / 0.6329 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.4385, allocations: 41 kB / 0.6329 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.4385, allocations: 56 kB / 0.633 GB, free: 9.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.4393, allocations: 410.4 kB / 0.6334 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4393, allocations: 0 / 0.6334 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.4394, allocations: 23.94 kB / 0.6334 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4394, allocations: 12 kB / 0.6334 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.44, allocations: 295.8 kB / 0.6337 GB, free: 8.582 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.00271/0.4427, allocations: 1.861 MB / 0.6355 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.4431, allocations: 166.4 kB / 0.6357 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.4433, allocations: 88.75 kB / 0.6357 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.4437, allocations: 344.5 kB / 0.6361 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4437, allocations: 38.56 kB / 0.6361 GB, free: 5.848 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.4437, allocations: 0 / 0.6361 GB, free: 5.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007139/0.4444, allocations: 298.8 kB / 0.6364 GB, free: 5.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4445, allocations: 51.41 kB / 0.6364 GB, free: 5.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/0.4453, allocations: 0.6882 MB / 0.6371 GB, free: 4.789 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.4453, allocations: 33.7 kB / 0.6371 GB, free: 4.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.4456, allocations: 364.6 kB / 0.6375 GB, free: 4.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.4457, allocations: 74.98 kB / 0.6376 GB, free: 4.312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.4459, allocations: 86.05 kB / 0.6376 GB, free: 4.223 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.4461, allocations: 378.7 kB / 0.638 GB, free: 3.844 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4464, allocations: 118.4 kB / 0.6381 GB, free: 3.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.4467, allocations: 183.4 kB / 0.6383 GB, free: 3.523 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.4472, allocations: 244.9 kB / 0.6385 GB, free: 3.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4472, allocations: 0 / 0.6385 GB, free: 3.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007276/0.4479, allocations: 406.1 kB / 0.6389 GB, free: 2.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.448, allocations: 4 kB / 0.6389 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.448, allocations: 0 / 0.6389 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.448, allocations: 4 kB / 0.6389 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.449, allocations: 155.9 kB / 0.6391 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.4504, allocations: 2.367 MB / 0.6414 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.4508, allocations: 55.53 kB / 0.6414 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.4509, allocations: 19.98 kB / 0.6415 GB, free: 184 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004567/0.4514, allocations: 247.8 kB / 0.6417 GB, free: 15.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002762/0.4516, allocations: 179 kB / 0.6419 GB, free: 15.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003941/0.452, allocations: 220.5 kB / 0.6421 GB, free: 15.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.4521, allocations: 4 kB / 0.6421 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006715/0.4527, allocations: 380.8 kB / 0.6424 GB, free: 15.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4528, allocations: 4 kB / 0.6424 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4528, allocations: 3.938 kB / 0.6424 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.4528, allocations: 4 kB / 0.6425 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.4532, allocations: 107.8 kB / 0.6426 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.4532, allocations: 0 / 0.6426 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.4537, allocations: 47.89 kB / 0.6426 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.4537, allocations: 16 kB / 0.6426 GB, free: 14.95 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.0001763/0.4539, allocations: 204.2 kB / 0.6428 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4541, allocations: 67.09 kB / 0.6429 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.4548, allocations: 317.6 kB / 0.6432 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4548, allocations: 4 kB / 0.6432 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4548, allocations: 0 / 0.6432 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4549, allocations: 3.984 kB / 0.6432 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.4563, allocations: 0.8859 MB / 0.644 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.4563, allocations: 4 kB / 0.6441 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.4566, allocations: 71.86 kB / 0.6441 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.4566, allocations: 4 kB / 0.6441 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.4567, allocations: 8.188 kB / 0.6441 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.4581, allocations: 2.352 MB / 0.6464 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4581, allocations: 8.094 kB / 0.6464 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.4587, allocations: 405.7 kB / 0.6468 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.4589, allocations: 168.1 kB / 0.647 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.4589, allocations: 4 kB / 0.647 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.4593, allocations: 19.98 kB / 0.647 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.4593, allocations: 23.91 kB / 0.647 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4594, allocations: 8 kB / 0.647 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000586/0.4599, allocations: 479 kB / 0.6475 GB, free: 9.734 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.46, allocations: 0 / 0.6475 GB, free: 9.734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009476/0.4609, allocations: 355 kB / 0.6478 GB, free: 9.387 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.000544/0.4615, allocations: 243.1 kB / 0.6481 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.463, allocations: 495.4 kB / 0.6485 GB, free: 8.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4631, allocations: 4 kB / 0.6485 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.4635, allocations: 135.7 kB / 0.6487 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.4648, allocations: 327 kB / 0.649 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.4665, allocations: 1.103 MB / 0.6501 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.467, allocations: 0.9296 MB / 0.651 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.4674, allocations: 112.5 kB / 0.6511 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.4675, allocations: 51.42 kB / 0.6511 GB, free: 5.965 MB / 494.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4675, allocations: 4 kB / 0.6511 GB, free: 5.961 MB / 494.1 MB Notification: Performance of Templates: time 0.02206/0.4896, allocations: 12.58 MB / 0.6634 GB, free: 9.609 MB / 0.4981 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)