Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001791, allocations: 106.4 kB / 15.98 MB, free: 5.891 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.002119/0.002119, allocations: 186 kB / 16.9 MB, free: 5.746 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.759/0.759, allocations: 132.2 MB / 422.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.89 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3794, allocations: 80.18 MB / 0.5802 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01737/0.3968, allocations: 22.19 MB / 0.6019 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00576/0.4026, allocations: 5.185 MB / 0.6069 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008103/0.4035, allocations: 23.81 kB / 0.607 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.4042, allocations: 276.1 kB / 0.6072 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.4062, allocations: 0.7963 MB / 0.608 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.4077, allocations: 0.6507 MB / 0.6086 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.4093, allocations: 1.501 MB / 0.6101 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.41, allocations: 0.5077 MB / 0.6106 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.411, allocations: 0.6301 MB / 0.6112 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.4116, allocations: 497.8 kB / 0.6117 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.4117, allocations: 56 kB / 0.6118 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.4129, allocations: 0.6356 MB / 0.6124 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.413, allocations: 155.3 kB / 0.6125 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.4134, allocations: 362.1 kB / 0.6129 GB, free: 13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.4143, allocations: 0.8029 MB / 0.6137 GB, free: 12.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4143, allocations: 0 / 0.6137 GB, free: 12.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4143, allocations: 3.938 kB / 0.6137 GB, free: 12.19 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4144, allocations: 0 / 0.6137 GB, free: 12.19 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001782/0.4161, allocations: 1.047 MB / 0.6147 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4162, allocations: 13.11 kB / 0.6147 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.4163, allocations: 76 kB / 0.6148 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.4171, allocations: 0.5622 MB / 0.6153 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.4172, allocations: 32.66 kB / 0.6153 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.4173, allocations: 43.91 kB / 0.6154 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.4178, allocations: 306 kB / 0.6157 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4179, allocations: 0 / 0.6157 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.4179, allocations: 12 kB / 0.6157 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.4179, allocations: 12.66 kB / 0.6157 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.4184, allocations: 254.5 kB / 0.6159 GB, free: 9.754 MB / 462.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.002361/0.4208, allocations: 1.576 MB / 0.6175 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.4212, allocations: 186.4 kB / 0.6177 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.4214, allocations: 92.81 kB / 0.6177 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.4218, allocations: 421.5 kB / 0.6182 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4219, allocations: 38.5 kB / 0.6182 GB, free: 7.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.4219, allocations: 0 / 0.6182 GB, free: 7.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007435/0.4226, allocations: 326.8 kB / 0.6185 GB, free: 6.891 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4227, allocations: 55.41 kB / 0.6186 GB, free: 6.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.4234, allocations: 0.6449 MB / 0.6192 GB, free: 6.168 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.4234, allocations: 37.7 kB / 0.6192 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.4237, allocations: 300.4 kB / 0.6195 GB, free: 5.824 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.4238, allocations: 71 kB / 0.6196 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4239, allocations: 106 kB / 0.6197 GB, free: 5.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.4242, allocations: 378.7 kB / 0.62 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.4245, allocations: 138.5 kB / 0.6202 GB, free: 5.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.4248, allocations: 202.4 kB / 0.6204 GB, free: 4.906 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.4253, allocations: 293 kB / 0.6206 GB, free: 4.605 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4253, allocations: 4 kB / 0.6206 GB, free: 4.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000789/0.4261, allocations: 452.5 kB / 0.6211 GB, free: 4.152 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4262, allocations: 10.41 kB / 0.6211 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4262, allocations: 0 / 0.6211 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4262, allocations: 4 kB / 0.6211 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.427, allocations: 139.8 kB / 0.6212 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008227/0.4279, allocations: 1.192 MB / 0.6224 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.4284, allocations: 59.53 kB / 0.6224 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.4284, allocations: 19.98 kB / 0.6225 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004107/0.4288, allocations: 277 kB / 0.6227 GB, free: 2.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003076/0.4292, allocations: 198.3 kB / 0.6229 GB, free: 2.199 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004741/0.4296, allocations: 297.4 kB / 0.6232 GB, free: 1.895 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.546e-06/0.4297, allocations: 7.984 kB / 0.6232 GB, free: 1.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007972/0.4305, allocations: 432.6 kB / 0.6236 GB, free: 1.457 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.4305, allocations: 4 kB / 0.6236 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.4305, allocations: 0 / 0.6236 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/0.4305, allocations: 4 kB / 0.6236 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.431, allocations: 119.9 kB / 0.6237 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.431, allocations: 4 kB / 0.6237 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.4315, allocations: 47.72 kB / 0.6238 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.4315, allocations: 19.98 kB / 0.6238 GB, free: 1.262 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.4317, allocations: 208.1 kB / 0.624 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.4318, allocations: 63.19 kB / 0.6241 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.4325, allocations: 327.4 kB / 0.6244 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.4325, allocations: 0 / 0.6244 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4325, allocations: 8.062 kB / 0.6244 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4325, allocations: 3.984 kB / 0.6244 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4338, allocations: 0.9034 MB / 0.6253 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4338, allocations: 0 / 0.6253 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.4341, allocations: 55.89 kB / 0.6253 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.4341, allocations: 4 kB / 0.6253 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.4342, allocations: 11.94 kB / 0.6253 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005555/0.4347, allocations: 1.18 MB / 0.6265 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4348, allocations: 3.984 kB / 0.6265 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.4355, allocations: 0.5065 MB / 0.627 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.4357, allocations: 172.2 kB / 0.6272 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.4358, allocations: 11.98 kB / 0.6272 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.4361, allocations: 28.03 kB / 0.6272 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.4362, allocations: 19.92 kB / 0.6272 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.4362, allocations: 8 kB / 0.6272 GB, free: 13.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000567/0.4368, allocations: 455 kB / 0.6277 GB, free: 13.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4368, allocations: 0 / 0.6277 GB, free: 13.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008324/0.4376, allocations: 291.5 kB / 0.6279 GB, free: 12.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005627/0.4382, allocations: 253 kB / 0.6282 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.4397, allocations: 0.5355 MB / 0.6287 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4397, allocations: 4.25 kB / 0.6287 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.44, allocations: 134 kB / 0.6288 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4412, allocations: 270.8 kB / 0.6291 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.443, allocations: 1.249 MB / 0.6303 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.4435, allocations: 0.8941 MB / 0.6312 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4436, allocations: 47.44 kB / 0.6312 GB, free: 9.43 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4436, allocations: 0 / 0.6312 GB, free: 9.43 MB / 478.1 MB Notification: Performance of Templates: time 0.01765/0.4613, allocations: 14.86 MB / 0.6457 GB, free: 10.67 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)