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.001312/0.001312, allocations: 107 kB / 16.36 MB, free: 6.336 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.001358/0.001358, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7849/0.7849, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 80.18 MB / 0.5815 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01948/0.3448, allocations: 22.33 MB / 0.6033 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.3517, allocations: 5.221 MB / 0.6084 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009663/0.3527, allocations: 25.19 kB / 0.6084 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.3537, allocations: 309.8 kB / 0.6087 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.3558, allocations: 0.875 MB / 0.6096 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3574, allocations: 0.7233 MB / 0.6103 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.359, allocations: 1.495 MB / 0.6117 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007259/0.3598, allocations: 0.5183 MB / 0.6122 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.3608, allocations: 0.6224 MB / 0.6128 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.3614, allocations: 481.8 kB / 0.6133 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.04e-05/0.3615, allocations: 60 kB / 0.6134 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.3626, allocations: 0.6355 MB / 0.614 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3627, allocations: 151.4 kB / 0.6141 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.3631, allocations: 366 kB / 0.6145 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3642, allocations: 1.059 MB / 0.6155 GB, free: 11.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3643, allocations: 0 / 0.6155 GB, free: 11.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3643, allocations: 3.938 kB / 0.6155 GB, free: 11.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3643, allocations: 0 / 0.6155 GB, free: 11.47 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.001647/0.3659, allocations: 1.047 MB / 0.6165 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.366, allocations: 8.031 kB / 0.6165 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.3661, allocations: 87.94 kB / 0.6166 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.367, allocations: 0.5739 MB / 0.6172 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.367, allocations: 36.59 kB / 0.6172 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.3671, allocations: 43.91 kB / 0.6173 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.3677, allocations: 310 kB / 0.6176 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3677, allocations: 0 / 0.6176 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3677, allocations: 12 kB / 0.6176 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.3677, allocations: 12.66 kB / 0.6176 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.3683, allocations: 254.5 kB / 0.6178 GB, free: 9.008 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.002343/0.3706, allocations: 1.572 MB / 0.6194 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.371, allocations: 190.5 kB / 0.6195 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3712, allocations: 92.81 kB / 0.6196 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.3716, allocations: 417.5 kB / 0.62 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3716, allocations: 46.48 kB / 0.6201 GB, free: 6.465 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.3716, allocations: 0 / 0.6201 GB, free: 6.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007384/0.3724, allocations: 327.2 kB / 0.6204 GB, free: 6.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3724, allocations: 51.41 kB / 0.6204 GB, free: 6.078 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.3732, allocations: 0.6488 MB / 0.6211 GB, free: 5.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3733, allocations: 33.7 kB / 0.6211 GB, free: 5.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.3735, allocations: 300.4 kB / 0.6214 GB, free: 5.078 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.3736, allocations: 71 kB / 0.6215 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3737, allocations: 106 kB / 0.6216 GB, free: 4.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3739, allocations: 378.7 kB / 0.6219 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.3741, allocations: 130.5 kB / 0.622 GB, free: 4.387 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3745, allocations: 218.2 kB / 0.6223 GB, free: 4.152 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.375, allocations: 294.1 kB / 0.6225 GB, free: 3.852 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.375, allocations: 0 / 0.6225 GB, free: 3.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008036/0.3758, allocations: 448.7 kB / 0.623 GB, free: 3.406 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3759, allocations: 17.91 kB / 0.623 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3759, allocations: 0 / 0.623 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3759, allocations: 4 kB / 0.623 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/0.3767, allocations: 143.8 kB / 0.6231 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006588/0.3774, allocations: 1.188 MB / 0.6243 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.3778, allocations: 51.52 kB / 0.6243 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.3779, allocations: 19.98 kB / 0.6243 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004053/0.3783, allocations: 272.9 kB / 0.6246 GB, free: 1.668 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000317/0.3786, allocations: 206.5 kB / 0.6248 GB, free: 1.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000473/0.3791, allocations: 285.5 kB / 0.6251 GB, free: 1.156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.3791, allocations: 0 / 0.6251 GB, free: 1.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007696/0.3799, allocations: 440.5 kB / 0.6255 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.3799, allocations: 4 kB / 0.6255 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.3799, allocations: 0 / 0.6255 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.3799, allocations: 4 kB / 0.6255 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.3804, allocations: 111.9 kB / 0.6256 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3804, allocations: 11.94 kB / 0.6256 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3808, allocations: 35.72 kB / 0.6257 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.3808, allocations: 20 kB / 0.6257 GB, free: 0.5352 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.0001225/0.3809, allocations: 200.1 kB / 0.6259 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.381, allocations: 59.25 kB / 0.6259 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.3817, allocations: 328.2 kB / 0.6262 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3817, allocations: 7.984 kB / 0.6262 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3817, allocations: 0 / 0.6262 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3817, allocations: 0 / 0.6262 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.383, allocations: 0.911 MB / 0.6271 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.383, allocations: 0 / 0.6271 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.3833, allocations: 55.97 kB / 0.6272 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3833, allocations: 0 / 0.6272 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3833, allocations: 7.938 kB / 0.6272 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005499/0.3839, allocations: 1.184 MB / 0.6283 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3839, allocations: 7.969 kB / 0.6284 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.3846, allocations: 0.5124 MB / 0.6289 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.3848, allocations: 172.3 kB / 0.629 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.3849, allocations: 8 kB / 0.629 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.3852, allocations: 15.92 kB / 0.629 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.3853, allocations: 24.03 kB / 0.6291 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3853, allocations: 7.938 kB / 0.6291 GB, free: 12.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.3858, allocations: 451 kB / 0.6295 GB, free: 12.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3858, allocations: 0 / 0.6295 GB, free: 12.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.3866, allocations: 303.5 kB / 0.6298 GB, free: 12.14 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.0004513/0.3871, allocations: 239.1 kB / 0.63 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3884, allocations: 0.5275 MB / 0.6305 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3884, allocations: 8.188 kB / 0.6305 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.3887, allocations: 127.9 kB / 0.6307 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.3899, allocations: 273 kB / 0.6309 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3915, allocations: 1.005 MB / 0.6319 GB, free: 9.953 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.3919, allocations: 0.8903 MB / 0.6328 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.3923, allocations: 115.8 kB / 0.6329 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3924, allocations: 51.42 kB / 0.6329 GB, free: 8.871 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3924, allocations: 0 / 0.6329 GB, free: 8.871 MB / 478.1 MB Notification: Performance of Templates: time 0.01926/0.4117, allocations: 11.16 MB / 0.6438 GB, free: 13.9 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)