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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.7 kB / 0.5018 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3931, allocations: 80.2 MB / 0.5801 GB, free: 4.535 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.09357/0.4867, allocations: 85.45 MB / 0.6635 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.5072, allocations: 13.92 MB / 0.6771 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.5102, allocations: 79.5 kB / 0.6772 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.513, allocations: 0.8775 MB / 0.6781 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.5179, allocations: 1.771 MB / 0.6798 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.522, allocations: 1.636 MB / 0.6814 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004561/0.5265, allocations: 3.298 MB / 0.6846 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.5288, allocations: 1.259 MB / 0.6859 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.5322, allocations: 1.497 MB / 0.6873 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.5339, allocations: 1.003 MB / 0.6883 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003871/0.5343, allocations: 120 kB / 0.6884 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.5374, allocations: 1.205 MB / 0.6896 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006588/0.5381, allocations: 386.8 kB / 0.69 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.5394, allocations: 0.7229 MB / 0.6907 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.544, allocations: 2.411 MB / 0.693 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5441, allocations: 0 / 0.693 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5441, allocations: 0 / 0.693 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.562e-05/0.5441, allocations: 4 kB / 0.693 GB, free: 13.86 MB / 0.5294 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.003957/0.5481, allocations: 1.795 MB / 0.6948 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5481, allocations: 8.031 kB / 0.6948 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.5498, allocations: 334.8 kB / 0.6951 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.552, allocations: 1.12 MB / 0.6962 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/0.5524, allocations: 121.9 kB / 0.6963 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5525, allocations: 76 kB / 0.6964 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5542, allocations: 0.9167 MB / 0.6973 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5542, allocations: 0 / 0.6973 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/0.5543, allocations: 32 kB / 0.6973 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.5543, allocations: 20 kB / 0.6973 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.5561, allocations: 0.7807 MB / 0.6981 GB, free: 8.523 MB / 0.5294 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.005817/0.5619, allocations: 4.449 MB / 0.7024 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.5631, allocations: 450.5 kB / 0.7029 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.5636, allocations: 236.7 kB / 0.7031 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00227/0.5658, allocations: 2.032 MB / 0.7051 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.5659, allocations: 38.56 kB / 0.7051 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004329/0.5663, allocations: 91.23 kB / 0.7052 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/0.5663, allocations: 0 / 0.7052 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001721/0.568, allocations: 0.7182 MB / 0.7059 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5681, allocations: 59.41 kB / 0.706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.5697, allocations: 1.256 MB / 0.7072 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.5697, allocations: 41.64 kB / 0.7072 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.5702, allocations: 0.5872 MB / 0.7078 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.5703, allocations: 122.2 kB / 0.7079 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.5705, allocations: 150 kB / 0.7081 GB, free: 13.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5706, allocations: 326 kB / 0.7084 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.5713, allocations: 270.9 kB / 0.7086 GB, free: 13.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.5721, allocations: 0.5025 MB / 0.7091 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.5735, allocations: 0.7186 MB / 0.7098 GB, free: 11.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5735, allocations: 0 / 0.7098 GB, free: 11.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001932/0.5755, allocations: 0.8785 MB / 0.7107 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5755, allocations: 12.19 kB / 0.7107 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.5755, allocations: 12 kB / 0.7107 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.5756, allocations: 8 kB / 0.7107 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.5762, allocations: 171.7 kB / 0.7109 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.5762, allocations: 15.92 kB / 0.7109 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009118/0.5772, allocations: 84.56 kB / 0.711 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.5773, allocations: 35.98 kB / 0.711 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009192/0.5782, allocations: 490.6 kB / 0.7115 GB, free: 10.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000768/0.579, allocations: 490.3 kB / 0.7119 GB, free: 9.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.5802, allocations: 0.6722 MB / 0.7126 GB, free: 8.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.095e-06/0.5802, allocations: 0 / 0.7126 GB, free: 8.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001754/0.5819, allocations: 0.8468 MB / 0.7134 GB, free: 7.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5819, allocations: 11.98 kB / 0.7134 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.582, allocations: 4 kB / 0.7134 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.582, allocations: 19.88 kB / 0.7135 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.5826, allocations: 160 kB / 0.7136 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.5826, allocations: 11.94 kB / 0.7136 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/0.5835, allocations: 76.58 kB / 0.7137 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/0.5836, allocations: 35.98 kB / 0.7137 GB, free: 7.504 MB / 0.545 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 (69): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.5838, allocations: 220.1 kB / 0.7139 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.5841, allocations: 134.3 kB / 0.7141 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.586, allocations: 0.9184 MB / 0.715 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.5861, allocations: 4 kB / 0.715 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5861, allocations: 0 / 0.715 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5861, allocations: 3.984 kB / 0.715 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.5892, allocations: 1.793 MB / 0.7167 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5892, allocations: 0 / 0.7167 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.5896, allocations: 100.1 kB / 0.7168 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.5896, allocations: 4 kB / 0.7168 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.5897, allocations: 15.98 kB / 0.7168 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.5897, allocations: 8.172 kB / 0.7168 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5897, allocations: 0 / 0.7168 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.5912, allocations: 0.8631 MB / 0.7177 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.5916, allocations: 283.2 kB / 0.718 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.5918, allocations: 19.98 kB / 0.718 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.5925, allocations: 35.97 kB / 0.718 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.5926, allocations: 47.83 kB / 0.7181 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.5926, allocations: 23.98 kB / 0.7181 GB, free: 2.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001327/0.594, allocations: 0.871 MB / 0.7189 GB, free: 2.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.594, allocations: 4 kB / 0.7189 GB, free: 2.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001673/0.5956, allocations: 0.5929 MB / 0.7195 GB, free: 1.434 MB / 0.545 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 (52): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.5967, allocations: 456.5 kB / 0.7199 GB, free: 1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.5992, allocations: 1.037 MB / 0.721 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5992, allocations: 0 / 0.721 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.5998, allocations: 321.7 kB / 0.7213 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.6028, allocations: 0.7137 MB / 0.722 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.6063, allocations: 2.014 MB / 0.7239 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.6074, allocations: 1.145 MB / 0.725 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001484/0.6089, allocations: 316.8 kB / 0.7253 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.6092, allocations: 111.4 kB / 0.7255 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.6092, allocations: 0 / 0.7255 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Templates: time 0.04608/0.6553, allocations: 27.45 MB / 0.7523 GB, free: 300 kB / 0.5762 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)