Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001094/0.001094, allocations: 190.3 kB / 16.13 MB, free: 6.645 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.108/1.108, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 62.62 kB / 0.5047 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2201, allocations: 80.92 MB / 0.5837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01793/0.238, allocations: 15.49 MB / 0.5988 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007033/0.2451, allocations: 4.362 MB / 0.6031 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007814/0.2459, allocations: 11.94 kB / 0.6031 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.247, allocations: 218.9 kB / 0.6033 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.2486, allocations: 0.5482 MB / 0.6038 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4337/0.6823, allocations: 0.632 MB / 0.6045 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.6841, allocations: 1.304 MB / 0.6057 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.6846, allocations: 295.5 kB / 0.606 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.6853, allocations: 376.9 kB / 0.6064 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.6857, allocations: 337.1 kB / 0.6067 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.6857, allocations: 16 kB / 0.6067 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.6869, allocations: 0.6019 MB / 0.6073 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.687, allocations: 91.62 kB / 0.6074 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.6872, allocations: 218.2 kB / 0.6076 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.688, allocations: 0.7446 MB / 0.6083 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6881, allocations: 0 / 0.6083 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.6881, allocations: 0 / 0.6083 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.6881, allocations: 0 / 0.6083 GB, free: 35.99 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001135/0.6892, allocations: 0.8314 MB / 0.6091 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6893, allocations: 12.34 kB / 0.6092 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.6894, allocations: 52.66 kB / 0.6092 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.6898, allocations: 418.5 kB / 0.6096 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.6899, allocations: 26.34 kB / 0.6096 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.6899, allocations: 28.03 kB / 0.6097 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.6903, allocations: 207.8 kB / 0.6099 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6903, allocations: 0 / 0.6099 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.6904, allocations: 13.81 kB / 0.6099 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6904, allocations: 5.531 kB / 0.6099 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.6907, allocations: 173.3 kB / 0.61 GB, free: 35.11 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.001371/0.6921, allocations: 0.9452 MB / 0.611 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.6924, allocations: 129.8 kB / 0.6111 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.6925, allocations: 73.77 kB / 0.6112 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.6928, allocations: 339.4 kB / 0.6115 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.6928, allocations: 30.56 kB / 0.6115 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.6928, allocations: 4 kB / 0.6115 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005868/0.6934, allocations: 241.9 kB / 0.6117 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.6934, allocations: 51.41 kB / 0.6118 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.6939, allocations: 474.7 kB / 0.6122 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.6939, allocations: 31.2 kB / 0.6123 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.694, allocations: 231.8 kB / 0.6125 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.6941, allocations: 51.31 kB / 0.6125 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.6942, allocations: 58.88 kB / 0.6126 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.6942, allocations: 353.9 kB / 0.6129 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.6944, allocations: 68.78 kB / 0.613 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.6946, allocations: 157.6 kB / 0.6132 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.695, allocations: 168 kB / 0.6133 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.695, allocations: 0 / 0.6133 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004515/0.6954, allocations: 250.5 kB / 0.6135 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6954, allocations: 9.781 kB / 0.6136 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6955, allocations: 3.422 kB / 0.6136 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6955, allocations: 2.906 kB / 0.6136 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.6957, allocations: 46.55 kB / 0.6136 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6957, allocations: 0 / 0.6136 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.6961, allocations: 53.94 kB / 0.6137 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.6961, allocations: 9.531 kB / 0.6137 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002481/0.6964, allocations: 192.9 kB / 0.6139 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001959/0.6966, allocations: 158.8 kB / 0.614 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002767/0.6969, allocations: 170.1 kB / 0.6142 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.6969, allocations: 0 / 0.6142 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004339/0.6973, allocations: 254.4 kB / 0.6144 GB, free: 33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.6973, allocations: 10.34 kB / 0.6144 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.6973, allocations: 0 / 0.6144 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.6973, allocations: 3.125 kB / 0.6144 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.6975, allocations: 48.97 kB / 0.6145 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6975, allocations: 6.656 kB / 0.6145 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.6979, allocations: 39.98 kB / 0.6145 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.6979, allocations: 12.23 kB / 0.6145 GB, free: 32.99 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.648e-05/0.698, allocations: 199.8 kB / 0.6147 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.6981, allocations: 45.62 kB / 0.6148 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.6986, allocations: 247.7 kB / 0.615 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6986, allocations: 0 / 0.615 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6986, allocations: 3.281 kB / 0.615 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6986, allocations: 0 / 0.615 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.6995, allocations: 0.7006 MB / 0.6157 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6995, allocations: 10.78 kB / 0.6157 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.6996, allocations: 25.92 kB / 0.6157 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6996, allocations: 3.219 kB / 0.6157 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6996, allocations: 8.562 kB / 0.6157 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.6996, allocations: 3.312 kB / 0.6157 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6997, allocations: 7.547 kB / 0.6157 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.7001, allocations: 344.2 kB / 0.6161 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7002, allocations: 135.4 kB / 0.6162 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.7002, allocations: 6.094 kB / 0.6162 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.7005, allocations: 25.58 kB / 0.6162 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.7005, allocations: 19.52 kB / 0.6162 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.7006, allocations: 5.75 kB / 0.6163 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003057/0.7009, allocations: 332.2 kB / 0.6166 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7009, allocations: 0 / 0.6166 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006672/0.7015, allocations: 204.3 kB / 0.6168 GB, free: 31.95 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 (16): * Single equations (assignments): 14 * 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.001141/0.7027, allocations: 479.8 kB / 0.6172 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006301/0.7033, allocations: 272.9 kB / 0.6175 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7033, allocations: 0 / 0.6175 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.7035, allocations: 88.72 kB / 0.6176 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.7048, allocations: 217.9 kB / 0.6178 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.706, allocations: 0.8355 MB / 0.6186 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.7062, allocations: 0.8295 MB / 0.6194 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.7065, allocations: 94.19 kB / 0.6195 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.7066, allocations: 37.69 kB / 0.6195 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.7066, allocations: 3.938 kB / 0.6195 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.014/0.7206, allocations: 8.327 MB / 0.6277 GB, free: 29.95 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)