Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009781/0.000978, 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.001021/0.001021, 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.206/1.206, 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.8172/0.8172, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 9.375 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 82.31 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.2728/0.4317, allocations: 25.02 MB / 0.6116 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007062/0.4388, allocations: 7.051 MB / 0.6185 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/0.4394, allocations: 25.41 kB / 0.6185 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.4402, allocations: 381.4 kB / 0.6189 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.4427, allocations: 1.438 MB / 0.6203 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.4449, allocations: 1.191 MB / 0.6215 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.4469, allocations: 2.107 MB / 0.6235 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009057/0.4478, allocations: 1.104 MB / 0.6246 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.4491, allocations: 1.285 MB / 0.6259 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.4506, allocations: 1.299 MB / 0.6271 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.4508, allocations: 63.53 kB / 0.6272 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.4525, allocations: 0.9083 MB / 0.6281 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003307/0.4529, allocations: 324.8 kB / 0.6284 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.4531, allocations: 251.5 kB / 0.6286 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4542, allocations: 1.541 MB / 0.6301 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4542, allocations: 0 / 0.6301 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4542, allocations: 0 / 0.6301 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.4542, allocations: 0 / 0.6301 GB, free: 32.25 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.001723/0.4559, allocations: 1.344 MB / 0.6314 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.456, allocations: 9.281 kB / 0.6315 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.4562, allocations: 148.6 kB / 0.6316 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.4576, allocations: 0.8575 MB / 0.6324 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.4577, allocations: 78.84 kB / 0.6325 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.4579, allocations: 121.4 kB / 0.6326 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.4586, allocations: 0.6354 MB / 0.6332 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4587, allocations: 0 / 0.6332 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.4587, allocations: 26.31 kB / 0.6333 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.4587, allocations: 11.66 kB / 0.6333 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.4594, allocations: 476.2 kB / 0.6337 GB, free: 30.31 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.003322/0.4627, allocations: 2.881 MB / 0.6366 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.4632, allocations: 322.9 kB / 0.6369 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.4635, allocations: 341 kB / 0.6372 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.4635, allocations: 37.47 kB / 0.6372 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.4635, allocations: 0 / 0.6372 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001033/0.4646, allocations: 0.541 MB / 0.6377 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4646, allocations: 62.5 kB / 0.6378 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.4655, allocations: 0.8959 MB / 0.6387 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.4656, allocations: 57.7 kB / 0.6387 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.4661, allocations: 0.5266 MB / 0.6393 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.4662, allocations: 116.5 kB / 0.6394 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.4663, allocations: 14.53 kB / 0.6394 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4664, allocations: 325.5 kB / 0.6397 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.4667, allocations: 182.5 kB / 0.6399 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.4678, allocations: 1.141 MB / 0.641 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.4683, allocations: 300.3 kB / 0.6413 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4683, allocations: 0 / 0.6413 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001026/0.4693, allocations: 0.6502 MB / 0.6419 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.4695, allocations: 0.801 MB / 0.6427 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4695, allocations: 2.625 kB / 0.6427 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4695, allocations: 5.25 kB / 0.6427 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4708, allocations: 245.7 kB / 0.6429 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009473/0.4717, allocations: 2.954 MB / 0.6458 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.4745, allocations: 0.7491 MB / 0.6465 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.4746, allocations: 26.92 kB / 0.6466 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.4746, allocations: 6.953 kB / 0.6466 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007788/0.4754, allocations: 0.4984 MB / 0.6471 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4754, allocations: 2.625 kB / 0.6471 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.4754, allocations: 9.094 kB / 0.6471 GB, free: 20.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.476, allocations: 157 kB / 0.6472 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.476, allocations: 10.94 kB / 0.6472 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.4787, allocations: 0.7341 MB / 0.6479 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.4787, allocations: 30.56 kB / 0.648 GB, free: 20.68 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.0004361/0.4792, allocations: 326.4 kB / 0.6483 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4793, allocations: 99.72 kB / 0.6484 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4804, allocations: 0.523 MB / 0.6489 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4804, allocations: 4.984 kB / 0.6489 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4804, allocations: 0 / 0.6489 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.4804, allocations: 3.844 kB / 0.6489 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4823, allocations: 1.268 MB / 0.6501 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4823, allocations: 1.891 kB / 0.6501 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.4828, allocations: 124.8 kB / 0.6503 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.4828, allocations: 2.875 kB / 0.6503 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.4828, allocations: 12.11 kB / 0.6503 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007752/0.4836, allocations: 2.942 MB / 0.6531 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4836, allocations: 2.781 kB / 0.6532 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.4844, allocations: 0.6283 MB / 0.6538 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.4847, allocations: 224.9 kB / 0.654 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.4848, allocations: 7.406 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.4853, allocations: 69.22 kB / 0.6541 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.4853, allocations: 37.95 kB / 0.6541 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.4854, allocations: 16.72 kB / 0.6541 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007016/0.4861, allocations: 0.5963 MB / 0.6547 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4861, allocations: 4 kB / 0.6547 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001324/0.4874, allocations: 0.5358 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.0005622/0.488, allocations: 324.3 kB / 0.6555 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.4902, allocations: 0.8384 MB / 0.6563 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4902, allocations: 0 / 0.6563 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.4908, allocations: 246.1 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.002109/0.4929, allocations: 477.2 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.002049/0.495, allocations: 1.785 MB / 0.6588 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4954, allocations: 1.048 MB / 0.6598 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007576/0.4962, allocations: 216.1 kB / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.4964, allocations: 80.12 kB / 0.6601 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4964, allocations: 0 / 0.6601 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.0372/0.5336, allocations: 23.58 MB / 0.6831 GB, free: 5.477 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: