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.001025/0.001025, allocations: 91.92 kB / 16.02 MB, free: 80 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.001387/0.001387, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.926/0.926, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004536, allocations: 12 kB / 0.5083 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 82.31 MB / 0.5886 GB, free: 2.629 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.3871/0.5935, allocations: 83.63 MB / 0.6703 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.6117, allocations: 13.84 MB / 0.6838 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.6145, allocations: 73.56 kB / 0.6839 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.6174, allocations: 0.7478 MB / 0.6846 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.6225, allocations: 1.647 MB / 0.6862 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.6266, allocations: 1.471 MB / 0.6877 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007188/0.6338, allocations: 4.519 MB / 0.6921 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.636, allocations: 1.055 MB / 0.6931 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.6393, allocations: 1.3 MB / 0.6944 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.6412, allocations: 0.978 MB / 0.6953 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.6414, allocations: 57.31 kB / 0.6954 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.6443, allocations: 1.137 MB / 0.6965 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.6448, allocations: 321.5 kB / 0.6968 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.6456, allocations: 0.661 MB / 0.6974 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.6482, allocations: 1.781 MB / 0.6992 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6482, allocations: 0 / 0.6992 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6482, allocations: 0 / 0.6992 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.6482, allocations: 0 / 0.6992 GB, free: 7.387 MB / 0.5137 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.002907/0.6511, allocations: 1.547 MB / 0.7007 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.6512, allocations: 10.84 kB / 0.7007 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.6529, allocations: 361.4 kB / 0.701 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.6555, allocations: 1.162 MB / 0.7022 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.6559, allocations: 126.5 kB / 0.7023 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.656, allocations: 77.81 kB / 0.7024 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.6581, allocations: 0.9328 MB / 0.7033 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6582, allocations: 4.797 kB / 0.7033 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/0.6583, allocations: 32 kB / 0.7033 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.6583, allocations: 19.94 kB / 0.7033 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.6604, allocations: 0.8096 MB / 0.7041 GB, free: 3.926 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 preOpt removeSimpleEquations (simulation): time 0.007493/0.6679, allocations: 4.364 MB / 0.7084 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.6692, allocations: 483.1 kB / 0.7088 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.6698, allocations: 240.6 kB / 0.7091 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002999/0.6728, allocations: 2.071 MB / 0.7111 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.6728, allocations: 39.5 kB / 0.7111 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005746/0.6734, allocations: 106.3 kB / 0.7112 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 3.517e-06/0.6734, allocations: 0 / 0.7112 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36): time 0.00201/0.6755, allocations: 0.7516 MB / 0.712 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.6755, allocations: 56.34 kB / 0.712 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.6777, allocations: 1.254 MB / 0.7133 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.6777, allocations: 29.7 kB / 0.7133 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006137/0.6784, allocations: 0.5833 MB / 0.7139 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.6786, allocations: 129.1 kB / 0.714 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6787, allocations: 53.83 kB / 0.714 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6788, allocations: 329.3 kB / 0.7143 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.6797, allocations: 288 kB / 0.7146 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009769/0.6807, allocations: 0.5109 MB / 0.7151 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.6823, allocations: 0.7407 MB / 0.7158 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.6823, allocations: 0 / 0.7158 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002248/0.6845, allocations: 0.9176 MB / 0.7167 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.6848, allocations: 285.8 kB / 0.717 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6848, allocations: 12 kB / 0.717 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.6848, allocations: 8 kB / 0.717 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.6856, allocations: 174.9 kB / 0.7172 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.6856, allocations: 18.89 kB / 0.7172 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.6868, allocations: 114.4 kB / 0.7173 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.6869, allocations: 42.33 kB / 0.7174 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.6869, allocations: 4 kB / 0.7174 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001753/0.6887, allocations: 0.7223 MB / 0.7181 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.6887, allocations: 8 kB / 0.7181 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.6887, allocations: 8 kB / 0.7181 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.6894, allocations: 170.1 kB / 0.7182 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.6894, allocations: 14.2 kB / 0.7183 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.6904, allocations: 113.7 kB / 0.7184 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.6905, allocations: 42.64 kB / 0.7184 GB, free: 6.348 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006329/0.6911, allocations: 377.3 kB / 0.7188 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.6913, allocations: 126.4 kB / 0.7189 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.6934, allocations: 0.9277 MB / 0.7198 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.6934, allocations: 5.594 kB / 0.7198 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6934, allocations: 11.94 kB / 0.7198 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6934, allocations: 2.109 kB / 0.7198 GB, free: 5.09 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 postOpt removeSimpleEquations (simulation): time 0.003562/0.697, allocations: 1.828 MB / 0.7216 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.697, allocations: 4.25 kB / 0.7216 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.6975, allocations: 111.8 kB / 0.7217 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.6975, allocations: 4 kB / 0.7217 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.6976, allocations: 19.98 kB / 0.7217 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.6976, allocations: 4 kB / 0.7217 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6976, allocations: 4 kB / 0.7217 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.6993, allocations: 0.8701 MB / 0.7226 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.6999, allocations: 291.1 kB / 0.7229 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.7001, allocations: 16 kB / 0.7229 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/0.7009, allocations: 59.89 kB / 0.7229 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.701, allocations: 47.83 kB / 0.723 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.701, allocations: 27.97 kB / 0.723 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001564/0.7026, allocations: 0.8671 MB / 0.7239 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.824e-06/0.7026, allocations: 0 / 0.7239 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001931/0.7045, allocations: 0.5851 MB / 0.7244 GB, free: 316 kB / 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 (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.001246/0.7058, allocations: 452.6 kB / 0.7249 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.7085, allocations: 1.042 MB / 0.7259 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7085, allocations: 4.188 kB / 0.7259 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.7092, allocations: 320.3 kB / 0.7262 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/0.7131, allocations: 0.6651 MB / 0.7268 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.7176, allocations: 2.528 MB / 0.7293 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000825/0.7184, allocations: 1.149 MB / 0.7304 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.7188, allocations: 115.4 kB / 0.7305 GB, free: 9.984 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.7188, allocations: 0 / 0.7305 GB, free: 9.984 MB / 0.545 GB Notification: Performance of Templates: time 0.03695/0.7558, allocations: 22.85 MB / 0.7529 GB, free: 3.355 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveMotor.makefile (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)