Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001448/0.001449, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7284/0.7284, allocations: 132.2 MB / 422.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.19 kB / 0.5013 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4258, allocations: 80.2 MB / 0.5796 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01755/0.4434, allocations: 17.38 MB / 0.5966 GB, free: 8.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007514/0.451, allocations: 4.883 MB / 0.6013 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/0.4517, allocations: 15.19 kB / 0.6014 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.4527, allocations: 219.9 kB / 0.6016 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.4547, allocations: 0.56 MB / 0.6021 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.4576, allocations: 0.6589 MB / 0.6028 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.4593, allocations: 0.9713 MB / 0.6037 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005745/0.4599, allocations: 333.4 kB / 0.604 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008395/0.4607, allocations: 417.2 kB / 0.6044 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.4612, allocations: 325.3 kB / 0.6047 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.4613, allocations: 29.81 kB / 0.6048 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.4628, allocations: 0.7353 MB / 0.6055 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.4629, allocations: 128.8 kB / 0.6056 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.4632, allocations: 245.4 kB / 0.6058 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.4647, allocations: 0.8758 MB / 0.6067 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4647, allocations: 0 / 0.6067 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4647, allocations: 1.062 kB / 0.6067 GB, free: 1.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.4647, allocations: 0 / 0.6067 GB, free: 1.242 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001302/0.466, allocations: 0.8841 MB / 0.6076 GB, free: 500 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4661, allocations: 10.12 kB / 0.6076 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.4663, allocations: 57.19 kB / 0.6076 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.4669, allocations: 442.9 kB / 0.608 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.4669, allocations: 24.94 kB / 0.6081 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.4669, allocations: 27.88 kB / 0.6081 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.4675, allocations: 287.6 kB / 0.6084 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4675, allocations: 1.719 kB / 0.6084 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.4676, allocations: 13.94 kB / 0.6084 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4676, allocations: 6.25 kB / 0.6084 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.468, allocations: 190.8 kB / 0.6086 GB, free: 15.77 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.002072/0.4701, allocations: 1.486 MB / 0.61 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.4704, allocations: 168.9 kB / 0.6102 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.4706, allocations: 83.12 kB / 0.6103 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.4723, allocations: 1.274 MB / 0.6115 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.4724, allocations: 39.75 kB / 0.6115 GB, free: 12.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.4724, allocations: 0 / 0.6115 GB, free: 12.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006721/0.4731, allocations: 247.2 kB / 0.6118 GB, free: 12.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4731, allocations: 56.5 kB / 0.6118 GB, free: 12.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.4738, allocations: 0.577 MB / 0.6124 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.4739, allocations: 33.2 kB / 0.6124 GB, free: 12.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.4741, allocations: 268.9 kB / 0.6127 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.4742, allocations: 54.53 kB / 0.6127 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4743, allocations: 69.92 kB / 0.6128 GB, free: 12.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4744, allocations: 359.4 kB / 0.6131 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.4747, allocations: 86.81 kB / 0.6132 GB, free: 11.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.475, allocations: 207.8 kB / 0.6134 GB, free: 11.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.4754, allocations: 229.1 kB / 0.6136 GB, free: 11.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4754, allocations: 3.938 kB / 0.6137 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006294/0.476, allocations: 313.4 kB / 0.614 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4761, allocations: 5.781 kB / 0.614 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4761, allocations: 2.344 kB / 0.614 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4761, allocations: 4.469 kB / 0.614 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.4764, allocations: 63.25 kB / 0.614 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4764, allocations: 8.438 kB / 0.614 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.4768, allocations: 50.31 kB / 0.6141 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.4768, allocations: 14.94 kB / 0.6141 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003376/0.4772, allocations: 214.8 kB / 0.6143 GB, free: 10.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002875/0.4775, allocations: 219.4 kB / 0.6145 GB, free: 10.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003718/0.4778, allocations: 231.5 kB / 0.6147 GB, free: 10.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.4779, allocations: 0 / 0.6147 GB, free: 10.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006033/0.4785, allocations: 317.1 kB / 0.615 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.4785, allocations: 6.656 kB / 0.615 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4785, allocations: 2.156 kB / 0.615 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.4785, allocations: 7.562 kB / 0.615 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.4788, allocations: 67.36 kB / 0.6151 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4788, allocations: 4.469 kB / 0.6151 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.4791, allocations: 42.62 kB / 0.6152 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.4792, allocations: 15.06 kB / 0.6152 GB, free: 10.33 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.4793, allocations: 198.4 kB / 0.6154 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.4794, allocations: 50.03 kB / 0.6154 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.48, allocations: 263.5 kB / 0.6157 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.48, allocations: 2.656 kB / 0.6157 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.48, allocations: 4 kB / 0.6157 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.48, allocations: 5.016 kB / 0.6157 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4811, allocations: 0.7332 MB / 0.6164 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4811, allocations: 1.375 kB / 0.6164 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.4812, allocations: 31.64 kB / 0.6164 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4812, allocations: 2.156 kB / 0.6164 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4812, allocations: 3.156 kB / 0.6164 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4813, allocations: 1.188 kB / 0.6164 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4813, allocations: 6.312 kB / 0.6164 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.4818, allocations: 360.5 kB / 0.6168 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.4819, allocations: 140.2 kB / 0.6169 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.482, allocations: 6.562 kB / 0.6169 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.4822, allocations: 24.91 kB / 0.6169 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.4823, allocations: 23.23 kB / 0.617 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4823, allocations: 5.031 kB / 0.617 GB, free: 8.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005154/0.4828, allocations: 420.1 kB / 0.6174 GB, free: 8.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4828, allocations: 0 / 0.6174 GB, free: 8.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009205/0.4838, allocations: 224.5 kB / 0.6176 GB, free: 8.602 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.4849, allocations: 0.5008 MB / 0.6181 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.4857, allocations: 322.5 kB / 0.6184 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.4857, allocations: 4 kB / 0.6184 GB, free: 8.242 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.4859, allocations: 90.92 kB / 0.6185 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.4871, allocations: 254.4 kB / 0.6187 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.4887, allocations: 0.9513 MB / 0.6196 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.4892, allocations: 0.8441 MB / 0.6205 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.4896, allocations: 97.64 kB / 0.6206 GB, free: 6.586 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.4897, allocations: 44.64 kB / 0.6206 GB, free: 6.57 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4897, allocations: 0 / 0.6206 GB, free: 6.57 MB / 462.1 MB Notification: Performance of Templates: time 0.01814/0.5078, allocations: 10.09 MB / 0.6305 GB, free: 13.05 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)