Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008665/0.008665, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001785/0.001786, allocations: 191.7 kB / 16.78 MB, free: 5.816 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.476/1.476, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.64/1.64, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 60.22 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1902, allocations: 80.93 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01904/0.2093, allocations: 17.39 MB / 0.6013 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2963/0.5056, allocations: 4.925 MB / 0.6061 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000694/0.5064, allocations: 15.38 kB / 0.6062 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.5073, allocations: 217 kB / 0.6064 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.5087, allocations: 0.5518 MB / 0.6069 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.5103, allocations: 0.6492 MB / 0.6075 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.5116, allocations: 1.276 MB / 0.6088 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.512, allocations: 289.3 kB / 0.6091 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.5126, allocations: 384.1 kB / 0.6094 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.513, allocations: 322.8 kB / 0.6097 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.5131, allocations: 20.41 kB / 0.6098 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.5142, allocations: 0.6974 MB / 0.6104 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5143, allocations: 119.5 kB / 0.6105 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.5145, allocations: 242.4 kB / 0.6108 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.5152, allocations: 0.6181 MB / 0.6114 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5152, allocations: 3.094 kB / 0.6114 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5152, allocations: 0 / 0.6114 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.5152, allocations: 2.625 kB / 0.6114 GB, free: 35.3 MB / 0.4981 GB 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.001048/0.5163, allocations: 0.8808 MB / 0.6122 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5163, allocations: 11.59 kB / 0.6123 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.5165, allocations: 59.72 kB / 0.6123 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.517, allocations: 439.8 kB / 0.6127 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.517, allocations: 24.03 kB / 0.6128 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.517, allocations: 34.25 kB / 0.6128 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.5175, allocations: 284.5 kB / 0.6131 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5175, allocations: 0 / 0.6131 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.5175, allocations: 10.53 kB / 0.6131 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5175, allocations: 5.625 kB / 0.6131 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.5179, allocations: 194.4 kB / 0.6133 GB, free: 34.33 MB / 0.4981 GB 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.001516/0.5194, allocations: 1.479 MB / 0.6147 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.5197, allocations: 165.9 kB / 0.6149 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.5199, allocations: 82.58 kB / 0.6149 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.5212, allocations: 1.273 MB / 0.6162 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.5212, allocations: 38.03 kB / 0.6162 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.5212, allocations: 0 / 0.6162 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005668/0.5218, allocations: 247.2 kB / 0.6165 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.5218, allocations: 54.34 kB / 0.6165 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.5224, allocations: 0.5881 MB / 0.6171 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.5224, allocations: 29.14 kB / 0.6171 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.5225, allocations: 265.5 kB / 0.6174 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.5226, allocations: 63.33 kB / 0.6174 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.5227, allocations: 76.27 kB / 0.6175 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.5228, allocations: 352.1 kB / 0.6178 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.523, allocations: 83.2 kB / 0.6179 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.5232, allocations: 216.3 kB / 0.6181 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.5235, allocations: 227.3 kB / 0.6183 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5236, allocations: 0 / 0.6183 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005149/0.5241, allocations: 317.5 kB / 0.6186 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5241, allocations: 14.41 kB / 0.6187 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5241, allocations: 5.5 kB / 0.6187 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.5241, allocations: 5.938 kB / 0.6187 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.5244, allocations: 57.23 kB / 0.6187 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5244, allocations: 8.75 kB / 0.6187 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.5247, allocations: 51.31 kB / 0.6188 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.5248, allocations: 10.91 kB / 0.6188 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000275/0.5251, allocations: 215 kB / 0.619 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002284/0.5253, allocations: 218.1 kB / 0.6192 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003173/0.5256, allocations: 227.2 kB / 0.6194 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.5256, allocations: 4 kB / 0.6194 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004846/0.5261, allocations: 310.8 kB / 0.6197 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.5261, allocations: 6.25 kB / 0.6197 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.5262, allocations: 3.25 kB / 0.6197 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.5262, allocations: 7.5 kB / 0.6197 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5264, allocations: 63.84 kB / 0.6198 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5264, allocations: 9.453 kB / 0.6198 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.5267, allocations: 39.91 kB / 0.6198 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.5268, allocations: 11.41 kB / 0.6199 GB, free: 30.77 MB / 0.4981 GB 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 8.6e-05/0.5269, allocations: 197.3 kB / 0.62 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.5269, allocations: 60.97 kB / 0.6201 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.5274, allocations: 256.6 kB / 0.6203 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5275, allocations: 3.719 kB / 0.6203 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5275, allocations: 0 / 0.6203 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5275, allocations: 0 / 0.6203 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008577/0.5283, allocations: 0.7306 MB / 0.6211 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5284, allocations: 4.594 kB / 0.6211 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5285, allocations: 43.58 kB / 0.6211 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5285, allocations: 0 / 0.6211 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.5285, allocations: 3.094 kB / 0.6211 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5285, allocations: 6.906 kB / 0.6211 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5285, allocations: 0 / 0.6211 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.5289, allocations: 360.8 kB / 0.6215 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5291, allocations: 143.2 kB / 0.6216 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.5291, allocations: 6.375 kB / 0.6216 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.5293, allocations: 14.33 kB / 0.6216 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.5294, allocations: 12.92 kB / 0.6216 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.5294, allocations: 13.66 kB / 0.6216 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003676/0.5298, allocations: 422.8 kB / 0.622 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5298, allocations: 0 / 0.622 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007222/0.5305, allocations: 232.2 kB / 0.6223 GB, free: 29.71 MB / 0.4981 GB 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.00102/0.5315, allocations: 0.5011 MB / 0.6228 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.5322, allocations: 314.5 kB / 0.6231 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5322, allocations: 3.688 kB / 0.6231 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.5323, allocations: 84.28 kB / 0.6231 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.5336, allocations: 245 kB / 0.6234 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.5347, allocations: 0.9902 MB / 0.6243 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.535, allocations: 0.8454 MB / 0.6252 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.5351, allocations: 45.45 kB / 0.6252 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.5351, allocations: 0 / 0.6252 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.01094/0.546, allocations: 8.564 MB / 0.6336 GB, free: 27.39 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)