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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.00121, allocations: 192.6 kB / 16.14 MB, free: 6.688 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 64.62 kB / 0.5011 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4287, allocations: 80.2 MB / 0.5794 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02315/0.4519, allocations: 22.23 MB / 0.6011 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007879/0.4598, allocations: 5.255 MB / 0.6063 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.4608, allocations: 22.25 kB / 0.6063 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009089/0.4618, allocations: 251.5 kB / 0.6065 GB, free: 316 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.464, allocations: 0.8026 MB / 0.6073 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.4657, allocations: 0.6491 MB / 0.6079 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.4679, allocations: 1.861 MB / 0.6098 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.4686, allocations: 453.2 kB / 0.6102 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.4697, allocations: 0.5672 MB / 0.6108 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.4704, allocations: 482.2 kB / 0.6112 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.4705, allocations: 26.56 kB / 0.6112 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.4716, allocations: 0.5802 MB / 0.6118 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.4718, allocations: 135.6 kB / 0.6119 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.4721, allocations: 331.6 kB / 0.6122 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.4732, allocations: 1.029 MB / 0.6133 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4732, allocations: 1.188 kB / 0.6133 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.4732, allocations: 0 / 0.6133 GB, free: 11.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.4733, allocations: 0 / 0.6133 GB, free: 11.93 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.001825/0.4751, allocations: 1.053 MB / 0.6143 GB, free: 11.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.4751, allocations: 9.062 kB / 0.6143 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.4753, allocations: 80.06 kB / 0.6144 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007761/0.4761, allocations: 0.5513 MB / 0.6149 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.4761, allocations: 32.88 kB / 0.6149 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.4762, allocations: 39.19 kB / 0.615 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.4768, allocations: 310.6 kB / 0.6153 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4768, allocations: 1.25 kB / 0.6153 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.4768, allocations: 14.44 kB / 0.6153 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.4769, allocations: 19.48 kB / 0.6153 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.4774, allocations: 255.9 kB / 0.6155 GB, free: 10.2 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.002362/0.4798, allocations: 1.568 MB / 0.6171 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.4802, allocations: 189.1 kB / 0.6173 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.4804, allocations: 99.61 kB / 0.6174 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.4807, allocations: 416.7 kB / 0.6178 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4808, allocations: 31.78 kB / 0.6178 GB, free: 8.188 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.4808, allocations: 0 / 0.6178 GB, free: 8.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007899/0.4816, allocations: 343 kB / 0.6181 GB, free: 8.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4816, allocations: 54.16 kB / 0.6182 GB, free: 7.941 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.4824, allocations: 0.6431 MB / 0.6188 GB, free: 7.559 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.4824, allocations: 32.48 kB / 0.6188 GB, free: 7.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.4826, allocations: 306.2 kB / 0.6191 GB, free: 7.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.4827, allocations: 59.95 kB / 0.6192 GB, free: 7.199 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.4828, allocations: 104.5 kB / 0.6193 GB, free: 7.129 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.483, allocations: 377.2 kB / 0.6196 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.4833, allocations: 141.1 kB / 0.6198 GB, free: 6.691 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.4836, allocations: 205.5 kB / 0.62 GB, free: 6.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.4842, allocations: 290.4 kB / 0.6202 GB, free: 6.387 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4842, allocations: 0 / 0.6202 GB, free: 6.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008002/0.485, allocations: 453.7 kB / 0.6207 GB, free: 6.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.485, allocations: 5.469 kB / 0.6207 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.485, allocations: 1.125 kB / 0.6207 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.485, allocations: 7.25 kB / 0.6207 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.4859, allocations: 147.3 kB / 0.6208 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006528/0.4865, allocations: 1.184 MB / 0.622 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.487, allocations: 65.7 kB / 0.622 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.4871, allocations: 20.75 kB / 0.6221 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004255/0.4875, allocations: 273.9 kB / 0.6223 GB, free: 4.676 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00034/0.4878, allocations: 204.1 kB / 0.6225 GB, free: 4.543 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000536/0.4884, allocations: 277.8 kB / 0.6228 GB, free: 4.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.4884, allocations: 0 / 0.6228 GB, free: 4.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0008149/0.4892, allocations: 444.7 kB / 0.6232 GB, free: 4.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.4892, allocations: 7.656 kB / 0.6232 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.4892, allocations: 1.281 kB / 0.6232 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.4893, allocations: 3.281 kB / 0.6232 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.4897, allocations: 112 kB / 0.6233 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4898, allocations: 7.766 kB / 0.6233 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.4902, allocations: 55.42 kB / 0.6234 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.4903, allocations: 19.94 kB / 0.6234 GB, free: 4.082 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.0001463/0.4904, allocations: 214.9 kB / 0.6236 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4905, allocations: 60.59 kB / 0.6237 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.4912, allocations: 309.9 kB / 0.624 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4912, allocations: 11.98 kB / 0.624 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4912, allocations: 0 / 0.624 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4912, allocations: 0 / 0.624 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.4924, allocations: 0.8995 MB / 0.6249 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4924, allocations: 128 / 0.6249 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4927, allocations: 55.91 kB / 0.6249 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4927, allocations: 4 kB / 0.6249 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.4927, allocations: 15.88 kB / 0.6249 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.4933, allocations: 1.188 MB / 0.6261 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4933, allocations: 4.031 kB / 0.6261 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.4941, allocations: 0.5135 MB / 0.6266 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.4943, allocations: 176.2 kB / 0.6268 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.4944, allocations: 4.188 kB / 0.6268 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.4947, allocations: 23.97 kB / 0.6268 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.4948, allocations: 24.03 kB / 0.6268 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.4948, allocations: 11.98 kB / 0.6268 GB, free: 448 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005277/0.4953, allocations: 451 kB / 0.6272 GB, free: 0 / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4953, allocations: 0 / 0.6272 GB, free: 0 / 462.1 MB Notification: Performance of remove unused functions: time 0.0008816/0.4962, allocations: 291.6 kB / 0.6275 GB, free: 15.71 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.0005453/0.4968, allocations: 256.3 kB / 0.6278 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.4982, allocations: 0.5156 MB / 0.6283 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4982, allocations: 0 / 0.6283 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.4985, allocations: 132.1 kB / 0.6284 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.5001, allocations: 299.2 kB / 0.6287 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.5019, allocations: 1.209 MB / 0.6299 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.5024, allocations: 0.894 MB / 0.6307 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.5028, allocations: 124.5 kB / 0.6309 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5029, allocations: 47.42 kB / 0.6309 GB, free: 12.2 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5029, allocations: 4 kB / 0.6309 GB, free: 12.2 MB / 478.1 MB Notification: Performance of Templates: time 0.0175/0.5204, allocations: 10.86 MB / 0.6415 GB, free: 1.516 MB / 478.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)