Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001428/0.001428, allocations: 113.2 kB / 16.37 MB, free: 6 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.001508/0.001508, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.365/1.365, 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-master/package.mo): time 0.7884/0.7884, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 80.9 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01583/0.3798, allocations: 22.32 MB / 0.6076 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.3863, allocations: 5.23 MB / 0.6127 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008118/0.3871, allocations: 23.81 kB / 0.6127 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008612/0.388, allocations: 314.8 kB / 0.613 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.3904, allocations: 0.8738 MB / 0.6139 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.3922, allocations: 0.7054 MB / 0.6145 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.394, allocations: 1.494 MB / 0.616 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.3947, allocations: 0.5204 MB / 0.6165 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.3958, allocations: 0.6302 MB / 0.6171 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006115/0.3964, allocations: 489.8 kB / 0.6176 GB, free: 9.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/0.3965, allocations: 56 kB / 0.6176 GB, free: 9.875 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.3976, allocations: 0.6278 MB / 0.6183 GB, free: 9.246 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3978, allocations: 155.3 kB / 0.6184 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.3981, allocations: 358.2 kB / 0.6188 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3994, allocations: 1.067 MB / 0.6198 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3994, allocations: 0 / 0.6198 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3994, allocations: 0 / 0.6198 GB, free: 7.676 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3994, allocations: 4 kB / 0.6198 GB, free: 7.672 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.001659/0.4011, allocations: 1.053 MB / 0.6208 GB, free: 6.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4011, allocations: 9.109 kB / 0.6208 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.4012, allocations: 84 kB / 0.6209 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.4021, allocations: 0.5778 MB / 0.6215 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4022, allocations: 28.66 kB / 0.6215 GB, free: 5.836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.4022, allocations: 36 kB / 0.6215 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.4028, allocations: 318 kB / 0.6218 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4028, allocations: 0 / 0.6218 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.4029, allocations: 8 kB / 0.6219 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.4029, allocations: 16.66 kB / 0.6219 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.4034, allocations: 254.5 kB / 0.6221 GB, free: 5.211 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.002357/0.4058, allocations: 1.572 MB / 0.6236 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.4061, allocations: 186.5 kB / 0.6238 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.4063, allocations: 96.73 kB / 0.6239 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/0.4067, allocations: 421.5 kB / 0.6243 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4068, allocations: 30.56 kB / 0.6243 GB, free: 2.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.4068, allocations: 7.938 kB / 0.6244 GB, free: 2.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007492/0.4075, allocations: 333 kB / 0.6247 GB, free: 2.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.4076, allocations: 51.41 kB / 0.6247 GB, free: 2.277 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007657/0.4083, allocations: 0.6449 MB / 0.6253 GB, free: 1.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.4084, allocations: 33.7 kB / 0.6254 GB, free: 1.582 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.4086, allocations: 304.4 kB / 0.6257 GB, free: 1.277 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.4087, allocations: 67.11 kB / 0.6257 GB, free: 1.211 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.4089, allocations: 102 kB / 0.6258 GB, free: 1.105 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.409, allocations: 374.7 kB / 0.6262 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.4093, allocations: 138.5 kB / 0.6263 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.4097, allocations: 214.3 kB / 0.6265 GB, free: 372 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.4102, allocations: 293 kB / 0.6268 GB, free: 60 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4102, allocations: 0 / 0.6268 GB, free: 60 kB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008238/0.411, allocations: 456.7 kB / 0.6272 GB, free: 15.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4111, allocations: 8 kB / 0.6272 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4111, allocations: 0 / 0.6272 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4111, allocations: 4 kB / 0.6273 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.4119, allocations: 143.8 kB / 0.6274 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000697/0.4126, allocations: 1.188 MB / 0.6286 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.4131, allocations: 55.5 kB / 0.6286 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.4131, allocations: 12 kB / 0.6286 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004215/0.4136, allocations: 281.1 kB / 0.6289 GB, free: 13.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003229/0.4139, allocations: 202.2 kB / 0.6291 GB, free: 13.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004684/0.4144, allocations: 289.3 kB / 0.6294 GB, free: 13.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.131e-05/0.4144, allocations: 0 / 0.6294 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007647/0.4152, allocations: 444.6 kB / 0.6298 GB, free: 12.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4152, allocations: 4 kB / 0.6298 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.4152, allocations: 0 / 0.6298 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.4152, allocations: 4 kB / 0.6298 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.4157, allocations: 115.9 kB / 0.6299 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4157, allocations: 4 kB / 0.6299 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.4161, allocations: 39.81 kB / 0.6299 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.4161, allocations: 19.98 kB / 0.63 GB, free: 12.73 MB / 478.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.0001493/0.4163, allocations: 199 kB / 0.6301 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.4164, allocations: 63.16 kB / 0.6302 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.4171, allocations: 330.1 kB / 0.6305 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4171, allocations: 4 kB / 0.6305 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4171, allocations: 4 kB / 0.6305 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4171, allocations: 0 / 0.6305 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.4184, allocations: 0.9095 MB / 0.6314 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4184, allocations: 0 / 0.6314 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.4187, allocations: 59.89 kB / 0.6315 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.4187, allocations: 3.984 kB / 0.6315 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.4187, allocations: 11.94 kB / 0.6315 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000616/0.4194, allocations: 1.18 MB / 0.6326 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4194, allocations: 4.031 kB / 0.6326 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.4201, allocations: 0.5059 MB / 0.6331 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.4203, allocations: 172.2 kB / 0.6333 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.4204, allocations: 8 kB / 0.6333 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.4207, allocations: 20.05 kB / 0.6333 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.4208, allocations: 23.91 kB / 0.6334 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.4208, allocations: 4 kB / 0.6334 GB, free: 9.078 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005414/0.4213, allocations: 455 kB / 0.6338 GB, free: 8.637 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4213, allocations: 0 / 0.6338 GB, free: 8.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008902/0.4222, allocations: 295.5 kB / 0.6341 GB, free: 8.348 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.0006001/0.4228, allocations: 256.8 kB / 0.6343 GB, free: 8.098 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.4243, allocations: 0.5217 MB / 0.6348 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.4243, allocations: 4 kB / 0.6348 GB, free: 7.574 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.4246, allocations: 123.9 kB / 0.6349 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4259, allocations: 276.9 kB / 0.6352 GB, free: 7.195 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.4276, allocations: 1.005 MB / 0.6362 GB, free: 6.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.428, allocations: 0.8864 MB / 0.6371 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000399/0.4284, allocations: 114 kB / 0.6372 GB, free: 5.121 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.4285, allocations: 55.36 kB / 0.6372 GB, free: 5.066 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4285, allocations: 0 / 0.6372 GB, free: 5.066 MB / 478.1 MB Notification: Performance of Templates: time 0.01984/0.4484, allocations: 11.15 MB / 0.6481 GB, free: 10.09 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)