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.0009152/0.0009151, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006284/0.006285, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8064/0.8064, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003573, allocations: 12 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4543, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02043/0.4748, allocations: 16.85 MB / 0.6001 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007952/0.4828, allocations: 4.864 MB / 0.6049 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.4835, allocations: 14.44 kB / 0.6049 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.4844, allocations: 212.5 kB / 0.6051 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.486, allocations: 0.5611 MB / 0.6056 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.488, allocations: 0.6444 MB / 0.6063 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.4895, allocations: 1.27 MB / 0.6075 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.49, allocations: 284.5 kB / 0.6078 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.4908, allocations: 373.6 kB / 0.6081 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.4912, allocations: 309.3 kB / 0.6084 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.4913, allocations: 15.38 kB / 0.6085 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.4926, allocations: 0.6919 MB / 0.6091 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.4928, allocations: 121.2 kB / 0.6092 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.493, allocations: 252.2 kB / 0.6095 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.4944, allocations: 0.8478 MB / 0.6103 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4944, allocations: 0 / 0.6103 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4944, allocations: 5.344 kB / 0.6103 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.4945, allocations: 0 / 0.6103 GB, free: 0.9414 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.001413/0.4959, allocations: 0.7934 MB / 0.6111 GB, free: 256 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4959, allocations: 8.875 kB / 0.6111 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4961, allocations: 58.84 kB / 0.6112 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.4967, allocations: 450.7 kB / 0.6116 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.4968, allocations: 20.72 kB / 0.6116 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.4968, allocations: 30.97 kB / 0.6116 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.4974, allocations: 292.9 kB / 0.6119 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4974, allocations: 1.531 kB / 0.6119 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.4974, allocations: 10.19 kB / 0.6119 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4974, allocations: 10.09 kB / 0.6119 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.4979, allocations: 196.7 kB / 0.6121 GB, free: 15.53 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.001862/0.4998, allocations: 1.48 MB / 0.6136 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.5001, allocations: 166.2 kB / 0.6137 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.5003, allocations: 95.73 kB / 0.6138 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.5019, allocations: 1.292 MB / 0.6151 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.502, allocations: 35.94 kB / 0.6151 GB, free: 12.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.502, allocations: 1.469 kB / 0.6151 GB, free: 12.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006576/0.5026, allocations: 271.5 kB / 0.6154 GB, free: 12.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5027, allocations: 53.53 kB / 0.6154 GB, free: 12.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.5034, allocations: 0.5768 MB / 0.616 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.5034, allocations: 35.77 kB / 0.616 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.5037, allocations: 273.6 kB / 0.6163 GB, free: 11.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.5037, allocations: 50.36 kB / 0.6163 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.5038, allocations: 31.2 kB / 0.6164 GB, free: 11.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5039, allocations: 362.1 kB / 0.6167 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.5041, allocations: 78.05 kB / 0.6168 GB, free: 11.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.5044, allocations: 216.7 kB / 0.617 GB, free: 11.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.5049, allocations: 246.8 kB / 0.6172 GB, free: 11.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5049, allocations: 1.219 kB / 0.6172 GB, free: 11.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006263/0.5055, allocations: 330.5 kB / 0.6175 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.5057, allocations: 155.8 kB / 0.6177 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5057, allocations: 3 kB / 0.6177 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5057, allocations: 3.875 kB / 0.6177 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.506, allocations: 65.5 kB / 0.6178 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.506, allocations: 12.67 kB / 0.6178 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.5064, allocations: 44.86 kB / 0.6178 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.5064, allocations: 22.61 kB / 0.6178 GB, free: 10.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.5064, allocations: 4.531 kB / 0.6178 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005057/0.507, allocations: 246 kB / 0.6181 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.507, allocations: 10.81 kB / 0.6181 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/0.507, allocations: 3.75 kB / 0.6181 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.5072, allocations: 69.91 kB / 0.6182 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5072, allocations: 3.5 kB / 0.6182 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.5076, allocations: 43.69 kB / 0.6182 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.5076, allocations: 14.53 kB / 0.6182 GB, free: 10.48 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.0002296/0.5078, allocations: 257.8 kB / 0.6185 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.5079, allocations: 57.62 kB / 0.6185 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.5085, allocations: 274.9 kB / 0.6188 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5086, allocations: 9.266 kB / 0.6188 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5086, allocations: 1.281 kB / 0.6188 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5086, allocations: 0 / 0.6188 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5097, allocations: 0.7468 MB / 0.6195 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5097, allocations: 1.375 kB / 0.6195 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.5098, allocations: 30.64 kB / 0.6195 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.5099, allocations: 1.969 kB / 0.6195 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5099, allocations: 6.969 kB / 0.6196 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.5099, allocations: 5.203 kB / 0.6196 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5099, allocations: 5.906 kB / 0.6196 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.5104, allocations: 368.2 kB / 0.6199 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.5106, allocations: 145.9 kB / 0.6201 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.5107, allocations: 10.77 kB / 0.6201 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.5109, allocations: 23.05 kB / 0.6201 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.511, allocations: 25.83 kB / 0.6201 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.511, allocations: 10.09 kB / 0.6201 GB, free: 8.973 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004918/0.5115, allocations: 419.9 kB / 0.6205 GB, free: 8.738 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5115, allocations: 0 / 0.6205 GB, free: 8.738 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008438/0.5123, allocations: 224.2 kB / 0.6207 GB, free: 8.695 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.001143/0.5135, allocations: 498.3 kB / 0.6212 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007739/0.5143, allocations: 337.9 kB / 0.6215 GB, free: 8.348 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5143, allocations: 0 / 0.6215 GB, free: 8.348 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.5145, allocations: 96.5 kB / 0.6216 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.516, allocations: 247.6 kB / 0.6219 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.5175, allocations: 0.9834 MB / 0.6228 GB, free: 7.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.5179, allocations: 0.8481 MB / 0.6237 GB, free: 6.715 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003847/0.5183, allocations: 101.5 kB / 0.6237 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.5184, allocations: 35.38 kB / 0.6238 GB, free: 6.66 MB / 462.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5184, allocations: 0 / 0.6238 GB, free: 6.66 MB / 462.1 MB Notification: Performance of Templates: time 0.0175/0.5359, allocations: 9.841 MB / 0.6334 GB, free: 12.99 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)