Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008776/0.0008776, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8446/0.8445, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003301, allocations: 12 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 82.31 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.2859/0.4441, allocations: 25.03 MB / 0.6116 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008205/0.4523, allocations: 7.042 MB / 0.6185 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/0.4532, allocations: 27.19 kB / 0.6185 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.4541, allocations: 382.5 kB / 0.6189 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.4571, allocations: 1.442 MB / 0.6203 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.4595, allocations: 1.194 MB / 0.6215 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.4616, allocations: 2.098 MB / 0.6235 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.4626, allocations: 1.104 MB / 0.6246 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.4639, allocations: 1.285 MB / 0.6259 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.4655, allocations: 1.299 MB / 0.6271 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.4657, allocations: 64.22 kB / 0.6272 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.4672, allocations: 0.9008 MB / 0.6281 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.4675, allocations: 336 kB / 0.6284 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.4677, allocations: 251.6 kB / 0.6286 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.4689, allocations: 1.54 MB / 0.6301 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.4689, allocations: 0 / 0.6301 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4689, allocations: 0 / 0.6301 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.4689, allocations: 0 / 0.6301 GB, free: 32.23 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001803/0.4707, allocations: 1.336 MB / 0.6314 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.4707, allocations: 11.84 kB / 0.6315 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.471, allocations: 148.1 kB / 0.6316 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.4724, allocations: 0.8671 MB / 0.6324 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.4725, allocations: 80 kB / 0.6325 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.4726, allocations: 119.2 kB / 0.6326 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.4734, allocations: 0.638 MB / 0.6333 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4734, allocations: 0 / 0.6333 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.4735, allocations: 21.88 kB / 0.6333 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4735, allocations: 13.28 kB / 0.6333 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.4742, allocations: 478.3 kB / 0.6337 GB, free: 30.29 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.0033/0.4775, allocations: 2.871 MB / 0.6366 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.478, allocations: 320.5 kB / 0.6369 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.4782, allocations: 348.8 kB / 0.6372 GB, free: 28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.4782, allocations: 37.81 kB / 0.6372 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.4782, allocations: 0 / 0.6372 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0009619/0.4792, allocations: 0.5436 MB / 0.6378 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.4792, allocations: 58.41 kB / 0.6378 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.48, allocations: 0.8941 MB / 0.6387 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.4801, allocations: 52.58 kB / 0.6387 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.4804, allocations: 0.5348 MB / 0.6393 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.4805, allocations: 117 kB / 0.6394 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.4805, allocations: 10.72 kB / 0.6394 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.4806, allocations: 326.1 kB / 0.6397 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.4809, allocations: 184.1 kB / 0.6399 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.4818, allocations: 1.134 MB / 0.641 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.4822, allocations: 310.1 kB / 0.6413 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4822, allocations: 0 / 0.6413 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00094/0.4831, allocations: 0.6454 MB / 0.6419 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.4833, allocations: 0.8084 MB / 0.6427 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4833, allocations: 6.562 kB / 0.6427 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4833, allocations: 5.25 kB / 0.6427 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4846, allocations: 236.8 kB / 0.6429 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008586/0.4854, allocations: 2.956 MB / 0.6458 GB, free: 21.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.4882, allocations: 0.7492 MB / 0.6465 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.4883, allocations: 28.84 kB / 0.6466 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.4883, allocations: 5.25 kB / 0.6466 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007654/0.4891, allocations: 0.4955 MB / 0.6471 GB, free: 20.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4891, allocations: 3.953 kB / 0.6471 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.4891, allocations: 5.188 kB / 0.6471 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.4897, allocations: 158.8 kB / 0.6472 GB, free: 20.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4897, allocations: 8.625 kB / 0.6472 GB, free: 20.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.4923, allocations: 0.7436 MB / 0.648 GB, free: 20.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.4924, allocations: 26.22 kB / 0.648 GB, free: 20.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.4927, allocations: 333.8 kB / 0.6483 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.4928, allocations: 97.5 kB / 0.6484 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009744/0.4938, allocations: 0.52 MB / 0.6489 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4938, allocations: 4.188 kB / 0.6489 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4938, allocations: 0.9688 kB / 0.6489 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4938, allocations: 2.484 kB / 0.6489 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.4957, allocations: 1.267 MB / 0.6501 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4958, allocations: 2.281 kB / 0.6501 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.4963, allocations: 123.6 kB / 0.6503 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.4963, allocations: 7.453 kB / 0.6503 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.4963, allocations: 10.53 kB / 0.6503 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/0.4971, allocations: 2.939 MB / 0.6532 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4971, allocations: 5.656 kB / 0.6532 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.498, allocations: 0.6286 MB / 0.6538 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.4983, allocations: 220.9 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4984, allocations: 7.625 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.499, allocations: 73.06 kB / 0.6541 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.4991, allocations: 34.34 kB / 0.6541 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.4991, allocations: 11.98 kB / 0.6541 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008001/0.4999, allocations: 0.6042 MB / 0.6547 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4999, allocations: 0 / 0.6547 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001581/0.5015, allocations: 0.5364 MB / 0.6552 GB, free: 15.51 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006409/0.5021, allocations: 326.8 kB / 0.6555 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002415/0.5046, allocations: 0.8344 MB / 0.6563 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5046, allocations: 0.8438 kB / 0.6563 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.5052, allocations: 239.8 kB / 0.6566 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.5074, allocations: 474.1 kB / 0.657 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.5098, allocations: 1.793 MB / 0.6588 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.5104, allocations: 1.052 MB / 0.6598 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009252/0.5113, allocations: 217 kB / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.5115, allocations: 79.89 kB / 0.6601 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.5115, allocations: 0 / 0.6601 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.03758/0.5491, allocations: 23.57 MB / 0.6831 GB, free: 5.473 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: