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.001475/0.001481, allocations: 112 kB / 16.37 MB, free: 5.539 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.001624/0.001624, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8354/0.8354, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3733, allocations: 80.17 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01713/0.3905, allocations: 22.33 MB / 0.6033 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.3964, allocations: 5.239 MB / 0.6084 GB, free: 2.613 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.3971, allocations: 21.59 kB / 0.6084 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007613/0.3979, allocations: 317.8 kB / 0.6087 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.3998, allocations: 0.8593 MB / 0.6096 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.4013, allocations: 0.7255 MB / 0.6103 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.403, allocations: 1.488 MB / 0.6117 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.4037, allocations: 0.5197 MB / 0.6122 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.4048, allocations: 0.6225 MB / 0.6129 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.4054, allocations: 489.8 kB / 0.6133 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.962e-05/0.4055, allocations: 55.98 kB / 0.6134 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.4068, allocations: 0.6355 MB / 0.614 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.4069, allocations: 151.4 kB / 0.6141 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.4073, allocations: 362 kB / 0.6145 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.4086, allocations: 1.067 MB / 0.6155 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4086, allocations: 0 / 0.6155 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4086, allocations: 3.938 kB / 0.6155 GB, free: 11.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.4086, allocations: 0 / 0.6155 GB, free: 11.34 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.001785/0.4104, allocations: 1.051 MB / 0.6166 GB, free: 10.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4105, allocations: 8.031 kB / 0.6166 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.4106, allocations: 84 kB / 0.6166 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/0.4116, allocations: 0.5778 MB / 0.6172 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.4116, allocations: 28.66 kB / 0.6172 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.4117, allocations: 43.91 kB / 0.6173 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.4123, allocations: 306 kB / 0.6176 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4123, allocations: 3.938 kB / 0.6176 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.4123, allocations: 16 kB / 0.6176 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.4124, allocations: 16.64 kB / 0.6176 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.4129, allocations: 258.5 kB / 0.6179 GB, free: 8.863 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.002506/0.4154, allocations: 1.565 MB / 0.6194 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.4158, allocations: 190.4 kB / 0.6196 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.416, allocations: 88.81 kB / 0.6196 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.4164, allocations: 421.5 kB / 0.62 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4164, allocations: 38.5 kB / 0.6201 GB, free: 6.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.013e-06/0.4164, allocations: 4 kB / 0.6201 GB, free: 6.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007742/0.4172, allocations: 327.1 kB / 0.6204 GB, free: 6.008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4173, allocations: 55.41 kB / 0.6205 GB, free: 5.941 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.4181, allocations: 0.6488 MB / 0.6211 GB, free: 5.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.4181, allocations: 29.7 kB / 0.6211 GB, free: 5.246 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.4184, allocations: 308.4 kB / 0.6214 GB, free: 4.938 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.4184, allocations: 67 kB / 0.6215 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.4186, allocations: 106 kB / 0.6216 GB, free: 4.758 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4188, allocations: 370.7 kB / 0.6219 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.4191, allocations: 134.5 kB / 0.6221 GB, free: 4.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.4195, allocations: 218.3 kB / 0.6223 GB, free: 4.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.42, allocations: 298.1 kB / 0.6225 GB, free: 3.715 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.42, allocations: 64 / 0.6225 GB, free: 3.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008482/0.4209, allocations: 456.6 kB / 0.623 GB, free: 3.262 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4209, allocations: 4 kB / 0.623 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4209, allocations: 4 kB / 0.623 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4209, allocations: 0 / 0.623 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00085/0.4218, allocations: 143.8 kB / 0.6231 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000868/0.4227, allocations: 1.188 MB / 0.6243 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.4232, allocations: 51.55 kB / 0.6243 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.4232, allocations: 24.11 kB / 0.6244 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004368/0.4237, allocations: 280.9 kB / 0.6246 GB, free: 1.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003165/0.424, allocations: 198.3 kB / 0.6248 GB, free: 1.312 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004655/0.4245, allocations: 277.5 kB / 0.6251 GB, free: 1.027 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.4245, allocations: 0 / 0.6251 GB, free: 1.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007724/0.4253, allocations: 440.5 kB / 0.6255 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4253, allocations: 8 kB / 0.6255 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.4253, allocations: 0 / 0.6255 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.4253, allocations: 7.984 kB / 0.6255 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.4258, allocations: 111.9 kB / 0.6256 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4258, allocations: 4 kB / 0.6256 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.4262, allocations: 39.72 kB / 0.6257 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.4262, allocations: 16 kB / 0.6257 GB, free: 416 kB / 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.0001898/0.4264, allocations: 204.1 kB / 0.6259 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.4265, allocations: 71.17 kB / 0.6259 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007387/0.4273, allocations: 310.1 kB / 0.6262 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4273, allocations: 3.984 kB / 0.6262 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4273, allocations: 0 / 0.6262 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4273, allocations: 4 kB / 0.6262 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.4287, allocations: 0.9151 MB / 0.6271 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4287, allocations: 0 / 0.6271 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.429, allocations: 51.91 kB / 0.6272 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.429, allocations: 8.125 kB / 0.6272 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.429, allocations: 8.062 kB / 0.6272 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006565/0.4297, allocations: 1.188 MB / 0.6284 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4297, allocations: 0 / 0.6284 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.4305, allocations: 0.5284 MB / 0.6289 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.4308, allocations: 168.2 kB / 0.629 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.4308, allocations: 4 kB / 0.629 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.4311, allocations: 20.05 kB / 0.6291 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.4312, allocations: 19.97 kB / 0.6291 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.4312, allocations: 8 kB / 0.6291 GB, free: 12.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005611/0.4318, allocations: 447 kB / 0.6295 GB, free: 12.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.4318, allocations: 0 / 0.6295 GB, free: 12.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008554/0.4327, allocations: 299.5 kB / 0.6298 GB, free: 12.01 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.000535/0.4332, allocations: 250.3 kB / 0.63 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.4346, allocations: 0.5282 MB / 0.6306 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4347, allocations: 0 / 0.6306 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.435, allocations: 127.8 kB / 0.6307 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.4363, allocations: 278.7 kB / 0.6309 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.438, allocations: 0.9943 MB / 0.6319 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.4385, allocations: 0.8903 MB / 0.6328 GB, free: 8.902 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000428/0.439, allocations: 116.2 kB / 0.6329 GB, free: 8.789 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4391, allocations: 51.42 kB / 0.6329 GB, free: 8.738 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4391, allocations: 0 / 0.6329 GB, free: 8.738 MB / 478.1 MB Notification: Performance of Templates: time 0.0211/0.4602, allocations: 11.16 MB / 0.6438 GB, free: 13.77 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)