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.001667/0.001667, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001799/0.001799, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7659/0.7659, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.84 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3708, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02212/0.3929, allocations: 30.75 MB / 0.6115 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.406, allocations: 10.85 MB / 0.6221 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.4071, allocations: 27.81 kB / 0.6221 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.4082, allocations: 397.2 kB / 0.6225 GB, free: 4.141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.4112, allocations: 1.153 MB / 0.6237 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.4134, allocations: 0.8528 MB / 0.6245 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.4158, allocations: 2.058 MB / 0.6265 GB, free: 76 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009074/0.4167, allocations: 0.6854 MB / 0.6272 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.4184, allocations: 0.9765 MB / 0.6281 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008896/0.4193, allocations: 0.6767 MB / 0.6288 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.4194, allocations: 56 kB / 0.6288 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.4206, allocations: 0.6044 MB / 0.6294 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.4207, allocations: 167.3 kB / 0.6296 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.4212, allocations: 437.6 kB / 0.63 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.4224, allocations: 1.104 MB / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4225, allocations: 0 / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4225, allocations: 0 / 0.6311 GB, free: 11.36 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4225, 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.001756/0.4242, allocations: 1.164 MB / 0.6322 GB, free: 10.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4243, allocations: 8.031 kB / 0.6322 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.4245, allocations: 95.81 kB / 0.6323 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/0.4254, allocations: 0.5846 MB / 0.6329 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.4254, allocations: 41 kB / 0.6329 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.4255, allocations: 55.98 kB / 0.633 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.4262, allocations: 414.4 kB / 0.6334 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4263, allocations: 7.938 kB / 0.6334 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.4263, allocations: 16 kB / 0.6334 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.4263, allocations: 8 kB / 0.6334 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.4269, allocations: 307.8 kB / 0.6337 GB, free: 8.578 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.002668/0.4296, allocations: 1.861 MB / 0.6355 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.4299, allocations: 166.4 kB / 0.6357 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.4301, allocations: 88.8 kB / 0.6358 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.4304, allocations: 332.4 kB / 0.6361 GB, free: 5.902 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4304, allocations: 34.56 kB / 0.6361 GB, free: 5.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/0.4304, allocations: 0 / 0.6361 GB, free: 5.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006859/0.4311, allocations: 310.7 kB / 0.6364 GB, free: 5.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4312, allocations: 51.41 kB / 0.6365 GB, free: 5.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.4319, allocations: 0.6843 MB / 0.6371 GB, free: 4.793 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.432, allocations: 33.7 kB / 0.6372 GB, free: 4.754 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.4322, allocations: 364.7 kB / 0.6375 GB, free: 4.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.4323, allocations: 71 kB / 0.6376 GB, free: 4.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.4325, allocations: 90.05 kB / 0.6377 GB, free: 4.227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4326, allocations: 378.7 kB / 0.638 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.4329, allocations: 110.3 kB / 0.6381 GB, free: 3.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.4332, allocations: 191.4 kB / 0.6383 GB, free: 3.527 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.4336, allocations: 233 kB / 0.6385 GB, free: 3.293 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4336, allocations: 7.938 kB / 0.6385 GB, free: 3.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000694/0.4343, allocations: 394.2 kB / 0.6389 GB, free: 2.895 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4344, allocations: 12 kB / 0.6389 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4344, allocations: 0 / 0.6389 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4344, allocations: 4 kB / 0.6389 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/0.4354, allocations: 155.8 kB / 0.6391 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.4367, allocations: 2.364 MB / 0.6414 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.4372, allocations: 59.53 kB / 0.6414 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.4372, allocations: 15.98 kB / 0.6415 GB, free: 200 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003994/0.4376, allocations: 251.8 kB / 0.6417 GB, free: 15.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002788/0.4379, allocations: 178.8 kB / 0.6419 GB, free: 15.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004005/0.4383, allocations: 220.6 kB / 0.6421 GB, free: 15.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.4383, allocations: 3.938 kB / 0.6421 GB, free: 15.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006546/0.439, allocations: 388.9 kB / 0.6424 GB, free: 15.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.439, allocations: 4 kB / 0.6425 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.439, allocations: 8.047 kB / 0.6425 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-06/0.439, allocations: 7.938 kB / 0.6425 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.4394, allocations: 103.9 kB / 0.6426 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.4395, allocations: 0 / 0.6426 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.4399, allocations: 35.81 kB / 0.6426 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.4399, allocations: 20.03 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.0001323/0.44, allocations: 201.1 kB / 0.6428 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.4401, allocations: 71.09 kB / 0.6429 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.4408, allocations: 320 kB / 0.6432 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.4408, allocations: 7.984 kB / 0.6432 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4409, allocations: 4 kB / 0.6432 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4409, allocations: 0 / 0.6432 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.4421, allocations: 0.8821 MB / 0.6441 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.4421, allocations: 4.031 kB / 0.6441 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.4424, allocations: 67.89 kB / 0.6441 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4424, allocations: 4 kB / 0.6441 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4425, allocations: 7.984 kB / 0.6441 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.4436, allocations: 2.352 MB / 0.6464 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4436, allocations: 0 / 0.6464 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.4441, allocations: 402 kB / 0.6468 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.4444, allocations: 176.1 kB / 0.647 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.4445, allocations: 4 kB / 0.647 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.4448, allocations: 23.97 kB / 0.647 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.4448, allocations: 23.86 kB / 0.647 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.4449, allocations: 8 kB / 0.647 GB, free: 10.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005582/0.4454, allocations: 475 kB / 0.6475 GB, free: 9.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4454, allocations: 4 kB / 0.6475 GB, free: 9.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000885/0.4463, allocations: 347.1 kB / 0.6478 GB, free: 9.406 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.0005604/0.4469, allocations: 256.2 kB / 0.6481 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.4485, allocations: 487.4 kB / 0.6485 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4485, allocations: 0 / 0.6485 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.4489, allocations: 139.8 kB / 0.6487 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.4502, allocations: 330.5 kB / 0.649 GB, free: 8.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.452, allocations: 1.111 MB / 0.6501 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.4525, allocations: 0.9333 MB / 0.651 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000373/0.4529, allocations: 115.7 kB / 0.6511 GB, free: 6.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.453, allocations: 47.44 kB / 0.6511 GB, free: 5.965 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.453, allocations: 0 / 0.6511 GB, free: 5.965 MB / 494.1 MB Notification: Performance of Templates: time 0.02145/0.4744, allocations: 12.58 MB / 0.6634 GB, free: 9.617 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)