Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, 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.001124/0.001124, 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7139/0.7139, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 58.22 kB / 0.5018 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4116, allocations: 80.21 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02121/0.4329, allocations: 19.45 MB / 0.5991 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007658/0.4406, allocations: 5.156 MB / 0.6041 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008897/0.4415, allocations: 17.72 kB / 0.6041 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.4424, allocations: 269.5 kB / 0.6044 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.4443, allocations: 0.7695 MB / 0.6051 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.4464, allocations: 0.8715 MB / 0.606 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.448, allocations: 1.545 MB / 0.6075 GB, free: 280 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.4486, allocations: 0.509 MB / 0.608 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.4495, allocations: 0.6203 MB / 0.6086 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.4501, allocations: 0.5269 MB / 0.6091 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.044e-05/0.4502, allocations: 55.38 kB / 0.6092 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.4514, allocations: 0.6973 MB / 0.6099 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.4516, allocations: 165.4 kB / 0.61 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.452, allocations: 387.3 kB / 0.6104 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.4534, allocations: 1.081 MB / 0.6114 GB, free: 13.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4535, allocations: 0 / 0.6114 GB, free: 13.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4535, allocations: 1.094 kB / 0.6114 GB, free: 13.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4535, allocations: 0 / 0.6114 GB, free: 13.78 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001963/0.4555, allocations: 1.109 MB / 0.6125 GB, free: 12.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4555, allocations: 13.2 kB / 0.6125 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.4557, allocations: 84.22 kB / 0.6126 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/0.4564, allocations: 0.5015 MB / 0.6131 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.4564, allocations: 40.38 kB / 0.6131 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.4565, allocations: 49.03 kB / 0.6132 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4576, allocations: 0.6225 MB / 0.6138 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4576, allocations: 1.219 kB / 0.6138 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.4576, allocations: 21.47 kB / 0.6138 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4577, allocations: 12.28 kB / 0.6138 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4587, allocations: 494 kB / 0.6143 GB, free: 11.66 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.003345/0.4621, allocations: 3.207 MB / 0.6174 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.4627, allocations: 345.1 kB / 0.6178 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.4632, allocations: 234.2 kB / 0.618 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/0.4636, allocations: 348.6 kB / 0.6183 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.4637, allocations: 37.12 kB / 0.6184 GB, free: 7.969 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.653e-06/0.4637, allocations: 0 / 0.6184 GB, free: 7.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002074/0.4658, allocations: 0.7999 MB / 0.6191 GB, free: 7.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.4658, allocations: 59.19 kB / 0.6192 GB, free: 7.453 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/0.4664, allocations: 0.5912 MB / 0.6198 GB, free: 7.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.4665, allocations: 35.83 kB / 0.6198 GB, free: 7.055 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.4667, allocations: 324.2 kB / 0.6201 GB, free: 6.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/0.4668, allocations: 134.2 kB / 0.6202 GB, free: 6.652 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.467, allocations: 132.9 kB / 0.6204 GB, free: 6.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4672, allocations: 377.1 kB / 0.6207 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.4676, allocations: 215.7 kB / 0.6209 GB, free: 6.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.4682, allocations: 364.3 kB / 0.6213 GB, free: 5.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.4693, allocations: 0.5736 MB / 0.6218 GB, free: 5.422 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4693, allocations: 2.219 kB / 0.6218 GB, free: 5.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001396/0.4707, allocations: 0.7152 MB / 0.6225 GB, free: 5.059 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4707, allocations: 7 kB / 0.6225 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4707, allocations: 8.594 kB / 0.6226 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.4713, allocations: 134.6 kB / 0.6227 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.4718, allocations: 138.7 kB / 0.6228 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005341/0.4724, allocations: 0.6207 MB / 0.6234 GB, free: 4.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.4729, allocations: 87.33 kB / 0.6235 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.473, allocations: 27.98 kB / 0.6235 GB, free: 4.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005897/0.4736, allocations: 350.9 kB / 0.6239 GB, free: 3.906 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005407/0.4741, allocations: 364 kB / 0.6242 GB, free: 3.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009573/0.4751, allocations: 0.5628 MB / 0.6248 GB, free: 2.867 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.4751, allocations: 0 / 0.6248 GB, free: 2.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001225/0.4763, allocations: 0.6746 MB / 0.6254 GB, free: 2.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.4764, allocations: 11.88 kB / 0.6254 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4764, allocations: 7.984 kB / 0.6254 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.4764, allocations: 8.562 kB / 0.6254 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.4769, allocations: 163.7 kB / 0.6256 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.477, allocations: 11.94 kB / 0.6256 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.4774, allocations: 63.55 kB / 0.6257 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.4775, allocations: 31.98 kB / 0.6257 GB, free: 1.895 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.4777, allocations: 212.1 kB / 0.6259 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4778, allocations: 71.16 kB / 0.626 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.4791, allocations: 0.6353 MB / 0.6266 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4792, allocations: 15.94 kB / 0.6266 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4792, allocations: 0 / 0.6266 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4792, allocations: 3.984 kB / 0.6266 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.4814, allocations: 1.368 MB / 0.628 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4814, allocations: 0 / 0.628 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.4817, allocations: 83.88 kB / 0.628 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.4821, allocations: 108.9 kB / 0.6281 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.4821, allocations: 15.98 kB / 0.6282 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005549/0.4827, allocations: 0.6226 MB / 0.6288 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4827, allocations: 4.078 kB / 0.6288 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4839, allocations: 0.6966 MB / 0.6294 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.4841, allocations: 200.1 kB / 0.6296 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.4842, allocations: 8 kB / 0.6296 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.4846, allocations: 31.97 kB / 0.6297 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.4847, allocations: 35.89 kB / 0.6297 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.4847, allocations: 19.98 kB / 0.6297 GB, free: 13.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004053/0.4851, allocations: 403.1 kB / 0.6301 GB, free: 13.22 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4851, allocations: 0 / 0.6301 GB, free: 13.22 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001002/0.4861, allocations: 391.4 kB / 0.6305 GB, free: 12.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005784/0.4867, allocations: 301.9 kB / 0.6308 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.4886, allocations: 0.8975 MB / 0.6316 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4886, allocations: 0 / 0.6316 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.4892, allocations: 280.3 kB / 0.6319 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4903, allocations: 234.4 kB / 0.6321 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.4919, allocations: 1.073 MB / 0.6332 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.4923, allocations: 0.9077 MB / 0.6341 GB, free: 9.113 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004933/0.4928, allocations: 159.5 kB / 0.6342 GB, free: 8.965 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.4929, allocations: 59.42 kB / 0.6343 GB, free: 8.906 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4929, allocations: 0 / 0.6343 GB, free: 8.906 MB / 478.1 MB Notification: Performance of Templates: time 0.01846/0.5114, allocations: 12.61 MB / 0.6466 GB, free: 12.49 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)