Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00536/0.00536, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001335/0.001335, allocations: 191.5 kB / 16.67 MB, free: 5.918 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9362/0.9362, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4186, allocations: 80.92 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01713/0.4358, allocations: 19.44 MB / 0.6836 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007448/0.4433, allocations: 5.154 MB / 0.6887 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009171/0.4442, allocations: 18.69 kB / 0.6887 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008898/0.4451, allocations: 260.7 kB / 0.6889 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.4479, allocations: 0.7846 MB / 0.6897 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.4506, allocations: 0.8787 MB / 0.6906 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.453, allocations: 1.543 MB / 0.6921 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.4541, allocations: 0.5043 MB / 0.6926 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.4555, allocations: 0.6292 MB / 0.6932 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.4568, allocations: 0.5343 MB / 0.6937 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.457, allocations: 55.59 kB / 0.6937 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.4591, allocations: 0.7064 MB / 0.6944 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.4595, allocations: 165.5 kB / 0.6946 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.4607, allocations: 389.5 kB / 0.695 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.4633, allocations: 1.101 MB / 0.696 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4633, allocations: 0 / 0.696 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4633, allocations: 0 / 0.696 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.696e-05/0.4633, allocations: 0 / 0.696 GB, free: 14.84 MB / 0.5294 GB 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.002156/0.4655, allocations: 1.128 MB / 0.6971 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4655, allocations: 10.09 kB / 0.6972 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.4657, allocations: 91.06 kB / 0.6972 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.4666, allocations: 0.5195 MB / 0.6977 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4667, allocations: 41.56 kB / 0.6978 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.4667, allocations: 49 kB / 0.6978 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.4678, allocations: 0.6218 MB / 0.6984 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4679, allocations: 5.312 kB / 0.6984 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.4679, allocations: 21.5 kB / 0.6985 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4679, allocations: 12.03 kB / 0.6985 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.4693, allocations: 494.7 kB / 0.6989 GB, free: 12.69 MB / 0.5294 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.003491/0.4728, allocations: 3.198 MB / 0.7021 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.4735, allocations: 350.4 kB / 0.7024 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.474, allocations: 226.4 kB / 0.7026 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.4744, allocations: 348.9 kB / 0.703 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4744, allocations: 37.03 kB / 0.703 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 3.216e-06/0.4744, allocations: 7.984 kB / 0.703 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.002209/0.4766, allocations: 0.8055 MB / 0.7038 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4767, allocations: 59.28 kB / 0.7038 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.4774, allocations: 0.5862 MB / 0.7044 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.4774, allocations: 36.23 kB / 0.7044 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.4777, allocations: 332.6 kB / 0.7048 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4778, allocations: 143.1 kB / 0.7049 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.478, allocations: 125.4 kB / 0.705 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4782, allocations: 377 kB / 0.7054 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.4787, allocations: 219 kB / 0.7056 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.4794, allocations: 380.3 kB / 0.706 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.4805, allocations: 0.5665 MB / 0.7065 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.4805, allocations: 4 kB / 0.7065 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001488/0.482, allocations: 0.7228 MB / 0.7072 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4821, allocations: 11.94 kB / 0.7072 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4821, allocations: 4 kB / 0.7072 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.4827, allocations: 129 kB / 0.7074 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.4833, allocations: 147.7 kB / 0.7075 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006323/0.4839, allocations: 0.6148 MB / 0.7081 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.4845, allocations: 79.48 kB / 0.7082 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.4846, allocations: 32.05 kB / 0.7082 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006717/0.4852, allocations: 357.2 kB / 0.7085 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006168/0.4859, allocations: 360 kB / 0.7089 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/0.487, allocations: 0.5549 MB / 0.7094 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.487, allocations: 0 / 0.7094 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001426/0.4884, allocations: 0.6868 MB / 0.7101 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4884, allocations: 8 kB / 0.7101 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4885, allocations: 4.562 kB / 0.7101 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.4885, allocations: 8 kB / 0.7101 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.4891, allocations: 159.7 kB / 0.7103 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.4891, allocations: 11.94 kB / 0.7103 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.4897, allocations: 75.69 kB / 0.7104 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.4898, allocations: 28 kB / 0.7104 GB, free: 1.93 MB / 0.5294 GB 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.000199/0.49, allocations: 216.1 kB / 0.7106 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.4901, allocations: 71.53 kB / 0.7107 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.4916, allocations: 0.6465 MB / 0.7113 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.4917, allocations: 4 kB / 0.7113 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4917, allocations: 0 / 0.7113 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4917, allocations: 0 / 0.7113 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.4943, allocations: 1.36 MB / 0.7126 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4943, allocations: 0 / 0.7126 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.4947, allocations: 91.97 kB / 0.7127 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/0.4951, allocations: 104.7 kB / 0.7128 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.4952, allocations: 15.98 kB / 0.7128 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000674/0.4959, allocations: 0.6227 MB / 0.7134 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4959, allocations: 4.062 kB / 0.7134 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.4974, allocations: 0.7034 MB / 0.7141 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.4977, allocations: 204.4 kB / 0.7143 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4978, allocations: 12 kB / 0.7143 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.4982, allocations: 27.95 kB / 0.7144 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.4983, allocations: 39.94 kB / 0.7144 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.4984, allocations: 16 kB / 0.7144 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004599/0.4988, allocations: 411 kB / 0.7148 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4988, allocations: 4 kB / 0.7148 GB, free: 13.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001157/0.5, allocations: 391 kB / 0.7152 GB, free: 12.86 MB / 0.545 GB 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.0008163/0.5008, allocations: 297 kB / 0.7155 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.5029, allocations: 0.8627 MB / 0.7163 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5029, allocations: 192 / 0.7163 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007141/0.5036, allocations: 283.7 kB / 0.7166 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5048, allocations: 246.1 kB / 0.7168 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.5067, allocations: 1.082 MB / 0.7179 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.5073, allocations: 0.9116 MB / 0.7188 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.5078, allocations: 145.2 kB / 0.7189 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.508, allocations: 59.42 kB / 0.7189 GB, free: 8.941 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.508, allocations: 0 / 0.7189 GB, free: 8.941 MB / 0.545 GB Notification: Performance of Templates: time 0.02421/0.5322, allocations: 12.71 MB / 0.7314 GB, free: 12.4 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)