Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.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.Simplified.Examples.ThreeWayValveMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000916/0.000916, allocations: 99.7 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.0009554/0.0009555, allocations: 177.3 kB / 15.94 MB, free: 228 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.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8463/0.8463, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor): time 0.284/0.4319, allocations: 55.14 MB / 0.6411 GB, free: 21.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01322/0.4452, allocations: 12.13 MB / 0.6529 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.4469, allocations: 61.69 kB / 0.653 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.4488, allocations: 0.8893 MB / 0.6538 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.4533, allocations: 2.255 MB / 0.656 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.4574, allocations: 2.042 MB / 0.658 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.4599, allocations: 1.945 MB / 0.6599 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009927/0.4609, allocations: 0.9511 MB / 0.6608 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.4626, allocations: 1.07 MB / 0.6619 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007816/0.4634, allocations: 0.6567 MB / 0.6625 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4636, allocations: 53.66 kB / 0.6626 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.4655, allocations: 0.9265 MB / 0.6635 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.4658, allocations: 291.3 kB / 0.6638 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.4661, allocations: 288.3 kB / 0.664 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.4682, allocations: 1.723 MB / 0.6657 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.4682, allocations: 0 / 0.6657 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4682, allocations: 4 kB / 0.6657 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.4682, allocations: 0 / 0.6657 GB, free: 6.527 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002533/0.4708, allocations: 1.56 MB / 0.6673 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4708, allocations: 9.672 kB / 0.6673 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.4724, allocations: 363.2 kB / 0.6676 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4744, allocations: 1.096 MB / 0.6687 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.4747, allocations: 130.8 kB / 0.6688 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.4748, allocations: 75.19 kB / 0.6689 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.4766, allocations: 0.9294 MB / 0.6698 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4766, allocations: 2.031 kB / 0.6698 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.4767, allocations: 34.72 kB / 0.6698 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.4767, allocations: 17.41 kB / 0.6698 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.4786, allocations: 0.8244 MB / 0.6706 GB, free: 3.969 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.005687/0.4843, allocations: 4.425 MB / 0.675 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.4855, allocations: 499.4 kB / 0.6754 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002616/0.4882, allocations: 2.09 MB / 0.6775 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4882, allocations: 37.25 kB / 0.6775 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005078/0.4887, allocations: 112.4 kB / 0.6776 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=36): time 2.464e-06/0.4887, allocations: 3.938 kB / 0.6776 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36): time 0.001897/0.4906, allocations: 0.7796 MB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.4907, allocations: 60.44 kB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.4925, allocations: 1.257 MB / 0.6797 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.4925, allocations: 36.45 kB / 0.6797 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.493, allocations: 0.5796 MB / 0.6803 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.4931, allocations: 125.8 kB / 0.6804 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.4932, allocations: 10.75 kB / 0.6804 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4933, allocations: 326.8 kB / 0.6807 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/0.494, allocations: 283.9 kB / 0.681 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/0.495, allocations: 0.5236 MB / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.4958, allocations: 331.8 kB / 0.6818 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4958, allocations: 1.375 kB / 0.6818 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002033/0.4978, allocations: 0.9131 MB / 0.6827 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009828/0.4988, allocations: 2.571 MB / 0.6852 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4988, allocations: 7.516 kB / 0.6852 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.4989, allocations: 10.09 kB / 0.6852 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.4996, allocations: 183.9 kB / 0.6854 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.4997, allocations: 15.64 kB / 0.6854 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.501, allocations: 137.1 kB / 0.6856 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/0.5011, allocations: 41 kB / 0.6856 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.5011, allocations: 3 kB / 0.6856 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/0.5027, allocations: 0.7186 MB / 0.6863 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5028, allocations: 7.688 kB / 0.6863 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5028, allocations: 10.22 kB / 0.6863 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.5034, allocations: 166.9 kB / 0.6865 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.5034, allocations: 21.41 kB / 0.6865 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.5045, allocations: 110 kB / 0.6866 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.5046, allocations: 39 kB / 0.6866 GB, free: 9.117 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007634/0.5053, allocations: 373.2 kB / 0.687 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.5056, allocations: 134.2 kB / 0.6871 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.5077, allocations: 0.9652 MB / 0.6881 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.5077, allocations: 8.938 kB / 0.6881 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5077, allocations: 0 / 0.6881 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.5078, allocations: 2.859 kB / 0.6881 GB, free: 8.406 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.003598/0.5114, allocations: 1.935 MB / 0.69 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5114, allocations: 1.094 kB / 0.69 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.5119, allocations: 102.3 kB / 0.6901 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.5119, allocations: 4.781 kB / 0.6901 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.5119, allocations: 24.89 kB / 0.6901 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.5119, allocations: 4 kB / 0.6901 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5119, allocations: 6.703 kB / 0.6901 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.5136, allocations: 0.9986 MB / 0.6911 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/0.5142, allocations: 298.3 kB / 0.6914 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.5145, allocations: 11.97 kB / 0.6914 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/0.5154, allocations: 74.94 kB / 0.6914 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.5155, allocations: 43.03 kB / 0.6915 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.5155, allocations: 27.61 kB / 0.6915 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001435/0.517, allocations: 0.8679 MB / 0.6924 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.517, allocations: 0 / 0.6924 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002149/0.5191, allocations: 0.5994 MB / 0.6929 GB, free: 6.016 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (53): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.5202, allocations: 456.6 kB / 0.6934 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002731/0.523, allocations: 1.042 MB / 0.6944 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.523, allocations: 1.094 kB / 0.6944 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.5237, allocations: 338.2 kB / 0.6947 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/0.5271, allocations: 0.6684 MB / 0.6954 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.5326, allocations: 2.573 MB / 0.6979 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.5337, allocations: 1.163 MB / 0.699 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001926/0.5356, allocations: 334 kB / 0.6993 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.5361, allocations: 116.2 kB / 0.6995 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of SimCode: time 6.92e-07/0.5361, allocations: 0 / 0.6995 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.04297/0.579, allocations: 26.25 MB / 0.7251 GB, free: 14.19 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe 2>&1) Environment - environmentSimulation: