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.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7064/0.7064, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 64.62 kB / 0.5018 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4107, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01931/0.43, allocations: 17.46 MB / 0.5971 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.438, allocations: 4.917 MB / 0.6019 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.4389, allocations: 17.44 kB / 0.602 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.4398, allocations: 251 kB / 0.6022 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.4417, allocations: 0.6091 MB / 0.6028 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.4438, allocations: 0.7184 MB / 0.6035 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.4451, allocations: 0.9713 MB / 0.6044 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/0.4455, allocations: 331.4 kB / 0.6048 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006714/0.4462, allocations: 421.1 kB / 0.6052 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.4467, allocations: 304.1 kB / 0.6055 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.4467, allocations: 37.84 kB / 0.6055 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.4481, allocations: 0.7216 MB / 0.6062 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.4482, allocations: 132.9 kB / 0.6063 GB, free: 1.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.4485, allocations: 248.3 kB / 0.6066 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.4496, allocations: 0.8759 MB / 0.6074 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4496, allocations: 0 / 0.6074 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4496, allocations: 1.188 kB / 0.6074 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4496, allocations: 0 / 0.6074 GB, free: 0.9141 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.001179/0.4508, allocations: 0.8805 MB / 0.6083 GB, free: 168 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4509, allocations: 8.969 kB / 0.6083 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.451, allocations: 58.84 kB / 0.6083 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.4516, allocations: 446.5 kB / 0.6088 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.4516, allocations: 24.47 kB / 0.6088 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.4517, allocations: 28.03 kB / 0.6088 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.4521, allocations: 280.2 kB / 0.6091 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4522, allocations: 3.938 kB / 0.6091 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.4522, allocations: 10.69 kB / 0.6091 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4522, allocations: 5.844 kB / 0.6091 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.4526, allocations: 190.8 kB / 0.6093 GB, free: 15.45 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.001722/0.4543, allocations: 1.489 MB / 0.6107 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.4547, allocations: 156.9 kB / 0.6109 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.4548, allocations: 90.3 kB / 0.611 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/0.4564, allocations: 1.284 MB / 0.6122 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4564, allocations: 40.5 kB / 0.6123 GB, free: 12.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.4564, allocations: 0 / 0.6123 GB, free: 12.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006185/0.457, allocations: 248.2 kB / 0.6125 GB, free: 12.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.4571, allocations: 53.03 kB / 0.6126 GB, free: 12.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.4577, allocations: 0.5809 MB / 0.6131 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4578, allocations: 31.98 kB / 0.6132 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.4579, allocations: 270.1 kB / 0.6134 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.458, allocations: 58.38 kB / 0.6135 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.4581, allocations: 74.69 kB / 0.6135 GB, free: 11.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4582, allocations: 358.8 kB / 0.6139 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.4584, allocations: 77.59 kB / 0.614 GB, free: 11.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.4587, allocations: 209.1 kB / 0.6142 GB, free: 11.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.4591, allocations: 231.6 kB / 0.6144 GB, free: 10.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4591, allocations: 5.469 kB / 0.6144 GB, free: 10.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005644/0.4597, allocations: 314.1 kB / 0.6147 GB, free: 10.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4597, allocations: 6.625 kB / 0.6147 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4597, allocations: 2.219 kB / 0.6147 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4598, allocations: 4.312 kB / 0.6147 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.46, allocations: 71.55 kB / 0.6148 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.46, allocations: 8.156 kB / 0.6148 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.4603, allocations: 40.27 kB / 0.6148 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.4604, allocations: 18.17 kB / 0.6148 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002827/0.4607, allocations: 215 kB / 0.615 GB, free: 10.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002761/0.461, allocations: 212.7 kB / 0.6152 GB, free: 10.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003615/0.4613, allocations: 230.5 kB / 0.6155 GB, free: 10.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.4613, allocations: 5.062 kB / 0.6155 GB, free: 10.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005474/0.4619, allocations: 316 kB / 0.6158 GB, free: 10.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.4619, allocations: 5.406 kB / 0.6158 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4619, allocations: 3.312 kB / 0.6158 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.4619, allocations: 4.156 kB / 0.6158 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.4622, allocations: 70.34 kB / 0.6158 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.4622, allocations: 4.375 kB / 0.6158 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.4625, allocations: 36.19 kB / 0.6159 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.4625, allocations: 15.06 kB / 0.6159 GB, free: 10 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.0001171/0.4626, allocations: 197.6 kB / 0.6161 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.4627, allocations: 55.44 kB / 0.6161 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.4633, allocations: 257 kB / 0.6164 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.4633, allocations: 1.344 kB / 0.6164 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4633, allocations: 5.047 kB / 0.6164 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4633, allocations: 0 / 0.6164 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009754/0.4643, allocations: 0.7303 MB / 0.6171 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4643, allocations: 1.156 kB / 0.6171 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4644, allocations: 34.83 kB / 0.6171 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4644, allocations: 6.188 kB / 0.6171 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4645, allocations: 2.719 kB / 0.6171 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4645, allocations: 2.125 kB / 0.6171 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4645, allocations: 6.078 kB / 0.6171 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.465, allocations: 357.3 kB / 0.6175 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.4651, allocations: 147.3 kB / 0.6176 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.4652, allocations: 11.66 kB / 0.6176 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.4654, allocations: 9.391 kB / 0.6176 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.4654, allocations: 22.53 kB / 0.6177 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.4655, allocations: 5.25 kB / 0.6177 GB, free: 8.559 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004327/0.4659, allocations: 421.4 kB / 0.6181 GB, free: 8.324 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4659, allocations: 0 / 0.6181 GB, free: 8.324 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007407/0.4666, allocations: 225.8 kB / 0.6183 GB, free: 8.277 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.00111/0.4678, allocations: 0.4917 MB / 0.6188 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007263/0.4685, allocations: 326.9 kB / 0.6191 GB, free: 7.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4685, allocations: 5 kB / 0.6191 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.4687, allocations: 85.77 kB / 0.6192 GB, free: 7.883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4699, allocations: 255 kB / 0.6194 GB, free: 7.754 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.4714, allocations: 0.8119 MB / 0.6202 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.4719, allocations: 0.8436 MB / 0.621 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.4724, allocations: 94.53 kB / 0.6211 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.4725, allocations: 43.27 kB / 0.6212 GB, free: 6.398 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4725, allocations: 0 / 0.6212 GB, free: 6.398 MB / 462.1 MB Notification: Performance of Templates: time 0.01799/0.4905, allocations: 10.19 MB / 0.6311 GB, free: 12.7 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)