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.001091/0.001091, 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.001979/0.001979, allocations: 187.5 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9797/0.9797, allocations: 135.1 MB / 425.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 71.55 kB / 0.5049 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1954, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02308/0.2185, allocations: 17.35 MB / 0.6008 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3543/0.5728, allocations: 4.877 MB / 0.6056 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009435/0.5738, allocations: 18.17 kB / 0.6056 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009403/0.5748, allocations: 217.2 kB / 0.6058 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.5764, allocations: 0.5667 MB / 0.6064 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.5784, allocations: 0.6586 MB / 0.607 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.5797, allocations: 0.9692 MB / 0.608 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.5801, allocations: 328.7 kB / 0.6083 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006348/0.5808, allocations: 418 kB / 0.6087 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.5811, allocations: 333.7 kB / 0.609 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.5812, allocations: 28.34 kB / 0.609 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.5824, allocations: 0.7306 MB / 0.6097 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.5826, allocations: 130.9 kB / 0.6099 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.5828, allocations: 251.6 kB / 0.6101 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.5838, allocations: 0.8726 MB / 0.611 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5838, allocations: 0 / 0.611 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5839, allocations: 0.6562 kB / 0.611 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5839, allocations: 0 / 0.611 GB, free: 35.43 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.001203/0.5851, allocations: 0.881 MB / 0.6118 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5851, allocations: 12.41 kB / 0.6118 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.5853, allocations: 62.84 kB / 0.6119 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.5859, allocations: 441.3 kB / 0.6123 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.5859, allocations: 29.22 kB / 0.6123 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.586, allocations: 26.91 kB / 0.6124 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.5864, allocations: 288.4 kB / 0.6126 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5865, allocations: 0 / 0.6126 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.5865, allocations: 11.44 kB / 0.6126 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.5865, allocations: 5.75 kB / 0.6126 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.5869, allocations: 195.5 kB / 0.6128 GB, free: 34.45 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.001613/0.5885, allocations: 1.478 MB / 0.6143 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.5888, allocations: 157.5 kB / 0.6144 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.589, allocations: 84.06 kB / 0.6145 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.5904, allocations: 1.28 MB / 0.6158 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.5905, allocations: 40.41 kB / 0.6158 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.5905, allocations: 4 kB / 0.6158 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006127/0.5911, allocations: 248 kB / 0.616 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.5911, allocations: 54.28 kB / 0.6161 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006457/0.5918, allocations: 0.5872 MB / 0.6167 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.5918, allocations: 28.2 kB / 0.6167 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.592, allocations: 268.3 kB / 0.6169 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.5921, allocations: 56.48 kB / 0.617 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.5922, allocations: 75.52 kB / 0.6171 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5924, allocations: 365.4 kB / 0.6174 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.5926, allocations: 76.12 kB / 0.6175 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.5928, allocations: 210.3 kB / 0.6177 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.5932, allocations: 235.8 kB / 0.6179 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5932, allocations: 0 / 0.6179 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005889/0.5938, allocations: 314.9 kB / 0.6182 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5939, allocations: 10.22 kB / 0.6182 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5939, allocations: 3.375 kB / 0.6182 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.5939, allocations: 6.219 kB / 0.6182 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.5942, allocations: 56.59 kB / 0.6183 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.5942, allocations: 12.62 kB / 0.6183 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.5946, allocations: 46.45 kB / 0.6183 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.5946, allocations: 14.02 kB / 0.6184 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002951/0.5949, allocations: 215 kB / 0.6186 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002227/0.5952, allocations: 209.7 kB / 0.6188 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003703/0.5955, allocations: 239.2 kB / 0.619 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.5955, allocations: 0 / 0.619 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005697/0.5961, allocations: 303.1 kB / 0.6193 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5961, allocations: 5.25 kB / 0.6193 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5962, allocations: 5.953 kB / 0.6193 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.5962, allocations: 13.94 kB / 0.6193 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.5964, allocations: 59.45 kB / 0.6194 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5964, allocations: 5.781 kB / 0.6194 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.5968, allocations: 39.8 kB / 0.6194 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.5968, allocations: 14.52 kB / 0.6194 GB, free: 30.89 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 0.0001188/0.5969, allocations: 204.1 kB / 0.6196 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.597, allocations: 52.7 kB / 0.6197 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.5976, allocations: 260.7 kB / 0.6199 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5976, allocations: 0 / 0.6199 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5976, allocations: 3.062 kB / 0.6199 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.5976, allocations: 0 / 0.6199 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.5986, allocations: 0.7406 MB / 0.6206 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5986, allocations: 1.25 kB / 0.6206 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.5987, allocations: 27.28 kB / 0.6207 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.5987, allocations: 5.781 kB / 0.6207 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.5988, allocations: 20.78 kB / 0.6207 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5988, allocations: 2.656 kB / 0.6207 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5988, allocations: 2.188 kB / 0.6207 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.5992, allocations: 355 kB / 0.621 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.5994, allocations: 144.7 kB / 0.6212 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.5995, allocations: 9.5 kB / 0.6212 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.5997, allocations: 15.98 kB / 0.6212 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.5997, allocations: 16.86 kB / 0.6212 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.5998, allocations: 13.58 kB / 0.6212 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000456/0.6002, allocations: 422.3 kB / 0.6216 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6002, allocations: 0 / 0.6216 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008382/0.6011, allocations: 234.2 kB / 0.6219 GB, free: 29.83 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.001136/0.6022, allocations: 493.4 kB / 0.6223 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007036/0.6029, allocations: 328 kB / 0.6226 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.603, allocations: 2.281 kB / 0.6226 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.6032, allocations: 90.42 kB / 0.6227 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6044, allocations: 248.1 kB / 0.623 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.6056, allocations: 0.9541 MB / 0.6239 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6059, allocations: 0.8543 MB / 0.6247 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.6062, allocations: 97.94 kB / 0.6248 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.6063, allocations: 41.22 kB / 0.6249 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.6063, allocations: 0 / 0.6249 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.0172/0.6235, allocations: 10.09 MB / 0.6347 GB, free: 27.61 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)