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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.000798/0.0007981, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008482/0.0008483, allocations: 168.7 kB / 15.95 MB, free: 204 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.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7776/0.7776, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 12 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3494, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.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.05606/0.4055, allocations: 60.84 MB / 0.6425 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.4236, allocations: 13.07 MB / 0.6553 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.4257, allocations: 63.56 kB / 0.6553 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.4277, allocations: 0.5667 MB / 0.6559 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.4313, allocations: 1.488 MB / 0.6573 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.4345, allocations: 1.296 MB / 0.6586 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004618/0.4391, allocations: 3.806 MB / 0.6623 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.4407, allocations: 0.9471 MB / 0.6632 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.4431, allocations: 1.217 MB / 0.6644 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.4445, allocations: 0.9529 MB / 0.6654 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.4447, allocations: 52 kB / 0.6654 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.4466, allocations: 0.8814 MB / 0.6663 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.4469, allocations: 302.8 kB / 0.6666 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.4473, allocations: 292.9 kB / 0.6668 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.4491, allocations: 1.75 MB / 0.6686 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4491, allocations: 0 / 0.6686 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4491, allocations: 0 / 0.6686 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.4491, allocations: 0 / 0.6686 GB, free: 8.867 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.002626/0.4518, allocations: 1.554 MB / 0.6701 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4518, allocations: 12.03 kB / 0.6701 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.4533, allocations: 369.8 kB / 0.6704 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.4553, allocations: 1.104 MB / 0.6715 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.4556, allocations: 126.1 kB / 0.6716 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.4558, allocations: 80 kB / 0.6717 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.4575, allocations: 0.9471 MB / 0.6726 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4576, allocations: 3.938 kB / 0.6726 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.4577, allocations: 28 kB / 0.6727 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.4577, allocations: 20 kB / 0.6727 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.4596, allocations: 0.8354 MB / 0.6735 GB, free: 3.656 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.005722/0.4653, allocations: 4.42 MB / 0.6778 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.4667, allocations: 0.5042 MB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.4673, allocations: 268.7 kB / 0.6786 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/0.4696, allocations: 2.09 MB / 0.6806 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.4697, allocations: 42.55 kB / 0.6806 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004722/0.4702, allocations: 107.2 kB / 0.6808 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=36): time 2.424e-06/0.4702, allocations: 0 / 0.6808 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36): time 0.001898/0.4721, allocations: 0.7962 MB / 0.6815 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.4721, allocations: 55.41 kB / 0.6816 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4736, allocations: 1.248 MB / 0.6828 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.4737, allocations: 37.7 kB / 0.6828 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.4742, allocations: 0.5756 MB / 0.6834 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.4743, allocations: 134.1 kB / 0.6835 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.4743, allocations: 8 kB / 0.6835 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4744, allocations: 330 kB / 0.6838 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.4752, allocations: 285 kB / 0.6841 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/0.4761, allocations: 0.5195 MB / 0.6846 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.4769, allocations: 347.5 kB / 0.685 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4769, allocations: 4 kB / 0.685 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001949/0.4788, allocations: 0.9213 MB / 0.6859 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.479, allocations: 282.5 kB / 0.6861 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.479, allocations: 8 kB / 0.6861 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.479, allocations: 12 kB / 0.6862 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.4798, allocations: 179.7 kB / 0.6863 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.4798, allocations: 12 kB / 0.6863 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/0.4808, allocations: 136.5 kB / 0.6865 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.4809, allocations: 39.97 kB / 0.6865 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.4809, allocations: 4 kB / 0.6865 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001504/0.4824, allocations: 0.7259 MB / 0.6872 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4824, allocations: 8 kB / 0.6872 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.4824, allocations: 8 kB / 0.6872 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.483, allocations: 172 kB / 0.6874 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4831, allocations: 11.94 kB / 0.6874 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/0.4838, allocations: 120.1 kB / 0.6875 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.4839, allocations: 35.98 kB / 0.6876 GB, free: 4.477 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.0004154/0.4843, allocations: 374.4 kB / 0.6879 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.4845, allocations: 130.4 kB / 0.688 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.4865, allocations: 0.9766 MB / 0.689 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.4865, allocations: 7.984 kB / 0.689 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4866, allocations: 0 / 0.689 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4866, allocations: 0 / 0.689 GB, free: 3 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.002987/0.4896, allocations: 1.892 MB / 0.6908 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4896, allocations: 4 kB / 0.6908 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.4901, allocations: 108.1 kB / 0.691 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4901, allocations: 4 kB / 0.691 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.4901, allocations: 19.98 kB / 0.691 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4901, allocations: 4 kB / 0.691 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4902, allocations: 3.938 kB / 0.691 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.4916, allocations: 0.9091 MB / 0.6919 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.492, allocations: 291.1 kB / 0.6921 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.4922, allocations: 8 kB / 0.6922 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.4929, allocations: 79.81 kB / 0.6922 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.4929, allocations: 39.91 kB / 0.6923 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.493, allocations: 23.98 kB / 0.6923 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001144/0.4941, allocations: 0.8671 MB / 0.6931 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.433e-06/0.4942, allocations: 0 / 0.6931 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001432/0.4956, allocations: 0.589 MB / 0.6937 GB, free: 14.02 MB / 0.5294 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.0008169/0.4964, allocations: 430 kB / 0.6941 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002256/0.4987, allocations: 1.064 MB / 0.6952 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4987, allocations: 0 / 0.6952 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.4994, allocations: 337.3 kB / 0.6955 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.5021, allocations: 0.672 MB / 0.6961 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.5055, allocations: 2.44 MB / 0.6985 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.5062, allocations: 1.146 MB / 0.6996 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001165/0.5074, allocations: 322.5 kB / 0.7 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.5077, allocations: 115.4 kB / 0.7001 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/0.5077, allocations: 0 / 0.7001 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.03971/0.5474, allocations: 25.87 MB / 0.7253 GB, free: 14 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.makefile (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)