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.001516/0.001516, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001493/0.001493, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8527/0.8527, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3438, allocations: 80.91 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01618/0.36, allocations: 22.31 MB / 0.6068 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.3662, allocations: 5.239 MB / 0.612 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000824/0.367, allocations: 19.88 kB / 0.612 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.3679, allocations: 314.7 kB / 0.6123 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.3702, allocations: 0.8663 MB / 0.6131 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.3721, allocations: 0.7087 MB / 0.6138 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.3741, allocations: 1.489 MB / 0.6153 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.3749, allocations: 0.524 MB / 0.6158 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.3761, allocations: 0.6224 MB / 0.6164 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00071/0.3768, allocations: 481.9 kB / 0.6169 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.3769, allocations: 52 kB / 0.6169 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.3782, allocations: 0.6356 MB / 0.6175 GB, free: 9.285 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.3784, allocations: 151.4 kB / 0.6177 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.3788, allocations: 362 kB / 0.618 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.3803, allocations: 1.055 MB / 0.619 GB, free: 7.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3803, allocations: 0 / 0.619 GB, free: 7.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3803, allocations: 0 / 0.619 GB, free: 7.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.3803, allocations: 0 / 0.619 GB, free: 7.723 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.001909/0.3822, allocations: 1.054 MB / 0.6201 GB, free: 6.617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3823, allocations: 9.109 kB / 0.6201 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3824, allocations: 84 kB / 0.6202 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/0.3833, allocations: 0.5466 MB / 0.6207 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.3834, allocations: 28.66 kB / 0.6207 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.3834, allocations: 44 kB / 0.6208 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.384, allocations: 314 kB / 0.6211 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3841, allocations: 3.984 kB / 0.6211 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.3841, allocations: 15.98 kB / 0.6211 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.3842, allocations: 12.66 kB / 0.6211 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.3847, allocations: 254.5 kB / 0.6213 GB, free: 5.277 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.002623/0.3873, allocations: 1.584 MB / 0.6229 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.3878, allocations: 188.6 kB / 0.6231 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.388, allocations: 92.8 kB / 0.6232 GB, free: 3.281 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004258/0.3884, allocations: 421.5 kB / 0.6236 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.3884, allocations: 38.56 kB / 0.6236 GB, free: 2.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.3885, allocations: 4 kB / 0.6236 GB, free: 2.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007985/0.3893, allocations: 325 kB / 0.6239 GB, free: 2.402 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3893, allocations: 59.34 kB / 0.624 GB, free: 2.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.3902, allocations: 0.6449 MB / 0.6246 GB, free: 1.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.3902, allocations: 29.7 kB / 0.6246 GB, free: 1.645 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.3905, allocations: 308.4 kB / 0.6249 GB, free: 1.336 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.3906, allocations: 71.05 kB / 0.625 GB, free: 1.266 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.3907, allocations: 102 kB / 0.6251 GB, free: 1.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3909, allocations: 374.7 kB / 0.6254 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.3913, allocations: 142.5 kB / 0.6256 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.3916, allocations: 210.3 kB / 0.6258 GB, free: 424 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.3922, allocations: 289 kB / 0.626 GB, free: 116 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3922, allocations: 0 / 0.626 GB, free: 116 kB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008856/0.3931, allocations: 452.6 kB / 0.6265 GB, free: 15.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3931, allocations: 4 kB / 0.6265 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3931, allocations: 4 kB / 0.6265 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3932, allocations: 0 / 0.6265 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.394, allocations: 135.8 kB / 0.6266 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008523/0.3949, allocations: 1.191 MB / 0.6278 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.3954, allocations: 55.53 kB / 0.6278 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.3954, allocations: 16 kB / 0.6278 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000461/0.3959, allocations: 281.1 kB / 0.6281 GB, free: 13.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003524/0.3962, allocations: 206.3 kB / 0.6283 GB, free: 13.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005196/0.3968, allocations: 289.5 kB / 0.6286 GB, free: 13.42 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.3968, allocations: 0 / 0.6286 GB, free: 13.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0008226/0.3976, allocations: 440.6 kB / 0.629 GB, free: 12.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3976, allocations: 8 kB / 0.629 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/0.3976, allocations: 0 / 0.629 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.3976, allocations: 4 kB / 0.629 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.3981, allocations: 115.9 kB / 0.6291 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3981, allocations: 0 / 0.6291 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.3985, allocations: 35.94 kB / 0.6292 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.3986, allocations: 23.98 kB / 0.6292 GB, free: 12.8 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.0001785/0.3988, allocations: 200.1 kB / 0.6294 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3989, allocations: 67.16 kB / 0.6294 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.3996, allocations: 324.5 kB / 0.6298 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.3997, allocations: 4 kB / 0.6298 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3997, allocations: 3.938 kB / 0.6298 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3997, allocations: 4 kB / 0.6298 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.4011, allocations: 0.9056 MB / 0.6306 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4011, allocations: 0 / 0.6306 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.4014, allocations: 55.91 kB / 0.6307 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4014, allocations: 4.125 kB / 0.6307 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.4014, allocations: 11.92 kB / 0.6307 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007271/0.4022, allocations: 1.176 MB / 0.6319 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4022, allocations: 3.938 kB / 0.6319 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.403, allocations: 0.5127 MB / 0.6324 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.4033, allocations: 172.1 kB / 0.6325 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.4034, allocations: 12.06 kB / 0.6325 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.4037, allocations: 11.98 kB / 0.6326 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.4037, allocations: 23.91 kB / 0.6326 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.4038, allocations: 8 kB / 0.6326 GB, free: 9.145 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006015/0.4044, allocations: 451 kB / 0.633 GB, free: 8.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4044, allocations: 0 / 0.633 GB, free: 8.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000861/0.4052, allocations: 303.5 kB / 0.6333 GB, free: 8.41 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.0005427/0.4058, allocations: 246.1 kB / 0.6335 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.4073, allocations: 0.538 MB / 0.6341 GB, free: 7.633 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4073, allocations: 0 / 0.6341 GB, free: 7.633 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.4076, allocations: 135.7 kB / 0.6342 GB, free: 7.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.4089, allocations: 272.1 kB / 0.6345 GB, free: 7.246 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.4108, allocations: 1.062 MB / 0.6355 GB, free: 6.145 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.4113, allocations: 0.8825 MB / 0.6364 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.4115, allocations: 51.42 kB / 0.6364 GB, free: 5.184 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4115, allocations: 0 / 0.6364 GB, free: 5.184 MB / 478.1 MB Notification: Performance of Templates: time 0.02061/0.4321, allocations: 14.87 MB / 0.6509 GB, free: 6.414 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)