Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008363/0.0008362, allocations: 100.2 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.0008818/0.0008818, 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.222/1.222, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8353/0.8353, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 12.62 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 82.31 MB / 0.5872 GB, free: 3.098 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.2864/0.4383, allocations: 55.13 MB / 0.641 GB, free: 21.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.4526, allocations: 12.14 MB / 0.6529 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.4549, allocations: 60.56 kB / 0.653 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.4574, allocations: 0.8824 MB / 0.6538 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005418/0.4628, allocations: 2.261 MB / 0.656 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.4673, allocations: 2.038 MB / 0.658 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002624/0.47, allocations: 1.948 MB / 0.6599 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.471, allocations: 0.9583 MB / 0.6609 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.4726, allocations: 1.067 MB / 0.6619 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.4733, allocations: 0.6569 MB / 0.6625 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.4735, allocations: 52.44 kB / 0.6626 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.4753, allocations: 0.9259 MB / 0.6635 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.4755, allocations: 292.2 kB / 0.6638 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.4758, allocations: 288.9 kB / 0.664 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.4776, allocations: 1.721 MB / 0.6657 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.4776, allocations: 12.91 kB / 0.6657 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4776, allocations: 0 / 0.6657 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.4777, allocations: 0 / 0.6657 GB, free: 6.406 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.0023/0.48, allocations: 1.551 MB / 0.6673 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.48, allocations: 10.03 kB / 0.6673 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.4814, allocations: 363.1 kB / 0.6676 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.4832, allocations: 1.097 MB / 0.6687 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.4835, allocations: 129.7 kB / 0.6688 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4836, allocations: 76.06 kB / 0.6689 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.4853, allocations: 0.9301 MB / 0.6698 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4854, allocations: 4 kB / 0.6698 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.4854, allocations: 31.5 kB / 0.6698 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.4854, allocations: 16.78 kB / 0.6698 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.4873, allocations: 0.8248 MB / 0.6706 GB, free: 3.855 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.005654/0.4929, allocations: 4.427 MB / 0.675 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.4942, allocations: 492.9 kB / 0.6754 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/0.4968, allocations: 2.103 MB / 0.6775 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4968, allocations: 41.05 kB / 0.6775 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004413/0.4973, allocations: 108 kB / 0.6776 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=36): time 1.863e-06/0.4973, allocations: 0 / 0.6776 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36): time 0.001878/0.4992, allocations: 0.7757 MB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4992, allocations: 60.5 kB / 0.6784 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.5009, allocations: 1.256 MB / 0.6797 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.501, allocations: 37.73 kB / 0.6797 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.5015, allocations: 0.5838 MB / 0.6803 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.5016, allocations: 125.8 kB / 0.6804 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.5017, allocations: 10.75 kB / 0.6804 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5018, allocations: 330.6 kB / 0.6807 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/0.5025, allocations: 283.4 kB / 0.681 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009031/0.5034, allocations: 0.5161 MB / 0.6815 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.5042, allocations: 332.1 kB / 0.6818 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5042, allocations: 2.469 kB / 0.6818 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001983/0.5062, allocations: 0.912 MB / 0.6827 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008742/0.5071, allocations: 2.583 MB / 0.6852 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5071, allocations: 11.27 kB / 0.6852 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5071, allocations: 9.875 kB / 0.6853 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.5079, allocations: 181.3 kB / 0.6854 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.5079, allocations: 13.83 kB / 0.6854 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5091, allocations: 137.5 kB / 0.6856 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.5092, allocations: 41.42 kB / 0.6856 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.5092, allocations: 3.938 kB / 0.6856 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/0.5107, allocations: 0.7108 MB / 0.6863 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5107, allocations: 10.12 kB / 0.6863 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.5107, allocations: 11.12 kB / 0.6863 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.5113, allocations: 171.8 kB / 0.6865 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5113, allocations: 11.38 kB / 0.6865 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/0.5122, allocations: 107.7 kB / 0.6866 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/0.5123, allocations: 42.17 kB / 0.6866 GB, free: 9 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.0006069/0.5129, allocations: 382.1 kB / 0.687 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.5131, allocations: 130 kB / 0.6871 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.5151, allocations: 0.9527 MB / 0.6881 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.5151, allocations: 7.656 kB / 0.6881 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5152, allocations: 5.594 kB / 0.6881 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5152, allocations: 3.094 kB / 0.6881 GB, free: 8.293 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.00347/0.5187, allocations: 1.929 MB / 0.69 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5187, allocations: 2.75 kB / 0.69 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.5192, allocations: 109.7 kB / 0.6901 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.5192, allocations: 5.078 kB / 0.6901 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.5193, allocations: 18.92 kB / 0.6901 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.5193, allocations: 8.594 kB / 0.6901 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5193, allocations: 6.422 kB / 0.6901 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.5211, allocations: 1.004 MB / 0.6911 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.5216, allocations: 293.2 kB / 0.6914 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.5218, allocations: 12.75 kB / 0.6914 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/0.5225, allocations: 75.2 kB / 0.6914 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.5226, allocations: 39.77 kB / 0.6915 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.5227, allocations: 25.17 kB / 0.6915 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001289/0.524, allocations: 0.8708 MB / 0.6924 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.524, allocations: 0 / 0.6924 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001944/0.5259, allocations: 0.5998 MB / 0.6929 GB, free: 5.902 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.0009244/0.5269, allocations: 453.6 kB / 0.6934 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.5293, allocations: 1.038 MB / 0.6944 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5293, allocations: 384 / 0.6944 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.53, allocations: 336.9 kB / 0.6947 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.5327, allocations: 0.6759 MB / 0.6954 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.5371, allocations: 2.578 MB / 0.6979 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.5378, allocations: 1.168 MB / 0.699 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001293/0.5391, allocations: 330.7 kB / 0.6993 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.5393, allocations: 116.2 kB / 0.6995 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.5393, allocations: 1.094 kB / 0.6995 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of Templates: time 0.04591/0.5853, allocations: 26.25 MB / 0.7251 GB, free: 14.14 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.pipe 2>&1) Environment - environmentSimulation: