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.001591/0.001591, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001255/0.001255, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8595/0.8595, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.91 kB / 0.5061 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3704, allocations: 80.91 MB / 0.5851 GB, free: 25.31 MB / 446.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.09545/0.4659, allocations: 85.65 MB / 0.6687 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.4887, allocations: 13.92 MB / 0.6823 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003214/0.492, allocations: 75.56 kB / 0.6824 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.495, allocations: 0.8737 MB / 0.6832 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.501, allocations: 1.761 MB / 0.685 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004476/0.5055, allocations: 1.652 MB / 0.6866 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005288/0.5108, allocations: 3.29 MB / 0.6898 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.5132, allocations: 1.263 MB / 0.691 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.5172, allocations: 1.493 MB / 0.6925 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.5193, allocations: 1.003 MB / 0.6934 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004552/0.5197, allocations: 124 kB / 0.6936 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.5228, allocations: 1.197 MB / 0.6947 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006866/0.5235, allocations: 390.7 kB / 0.6951 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.525, allocations: 0.7268 MB / 0.6958 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.5297, allocations: 2.411 MB / 0.6982 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.5298, allocations: 0 / 0.6982 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5298, allocations: 3.938 kB / 0.6982 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.243e-05/0.5299, allocations: 0 / 0.6982 GB, free: 6.719 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.004473/0.5343, allocations: 1.787 MB / 0.6999 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5344, allocations: 13.11 kB / 0.6999 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.5363, allocations: 334.8 kB / 0.7003 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.5392, allocations: 1.12 MB / 0.7013 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/0.5396, allocations: 117.9 kB / 0.7015 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.5398, allocations: 76 kB / 0.7015 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.542, allocations: 0.9245 MB / 0.7024 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.542, allocations: 7.984 kB / 0.7024 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.5421, allocations: 24 kB / 0.7025 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.5422, allocations: 20 kB / 0.7025 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.5443, allocations: 0.7807 MB / 0.7032 GB, free: 1.387 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.007999/0.5523, allocations: 4.457 MB / 0.7076 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.5537, allocations: 450.4 kB / 0.708 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.5543, allocations: 236.5 kB / 0.7083 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003001/0.5573, allocations: 2.02 MB / 0.7102 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.5574, allocations: 46.5 kB / 0.7103 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005741/0.558, allocations: 87.23 kB / 0.7104 GB, free: 9.551 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 3.507e-06/0.558, allocations: 8 kB / 0.7104 GB, free: 9.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.002066/0.5601, allocations: 0.7186 MB / 0.7111 GB, free: 8.816 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.5601, allocations: 59.41 kB / 0.7111 GB, free: 8.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.5623, allocations: 1.264 MB / 0.7124 GB, free: 7.469 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-05/0.5624, allocations: 33.7 kB / 0.7124 GB, free: 7.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/0.563, allocations: 0.5834 MB / 0.713 GB, free: 6.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.5632, allocations: 114.3 kB / 0.7131 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.5634, allocations: 158 kB / 0.7132 GB, free: 6.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5636, allocations: 322 kB / 0.7135 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007801/0.5644, allocations: 290.8 kB / 0.7138 GB, free: 5.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.5654, allocations: 0.4947 MB / 0.7143 GB, free: 5.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.567, allocations: 0.7108 MB / 0.715 GB, free: 4.566 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5671, allocations: 4 kB / 0.715 GB, free: 4.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002398/0.5695, allocations: 0.8785 MB / 0.7158 GB, free: 3.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.5695, allocations: 11.94 kB / 0.7159 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.5695, allocations: 12.25 kB / 0.7159 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.5696, allocations: 11.94 kB / 0.7159 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.5703, allocations: 163.8 kB / 0.716 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/0.5703, allocations: 11.94 kB / 0.716 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.5714, allocations: 80.58 kB / 0.7161 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5715, allocations: 39.97 kB / 0.7162 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.5727, allocations: 493.1 kB / 0.7166 GB, free: 2.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009087/0.5736, allocations: 490.3 kB / 0.7171 GB, free: 2.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001393/0.575, allocations: 0.6683 MB / 0.7177 GB, free: 1.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.146e-06/0.575, allocations: 7.938 kB / 0.7178 GB, free: 1.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00217/0.5772, allocations: 0.8429 MB / 0.7186 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5772, allocations: 8 kB / 0.7186 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5772, allocations: 8 kB / 0.7186 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5772, allocations: 11.94 kB / 0.7186 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.5779, allocations: 163.9 kB / 0.7188 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.5779, allocations: 11.94 kB / 0.7188 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.579, allocations: 80.58 kB / 0.7188 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.5791, allocations: 39.97 kB / 0.7189 GB, free: 364 kB / 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.0002807/0.5794, allocations: 217.4 kB / 0.7191 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.5797, allocations: 130.3 kB / 0.7192 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.5821, allocations: 0.9206 MB / 0.7201 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.5821, allocations: 11.98 kB / 0.7201 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5821, allocations: 4 kB / 0.7201 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5821, allocations: 0 / 0.7201 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.5858, allocations: 1.789 MB / 0.7219 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5858, allocations: 4 kB / 0.7219 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.5863, allocations: 100.1 kB / 0.722 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.5863, allocations: 4 kB / 0.722 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.5864, allocations: 19.98 kB / 0.722 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.5864, allocations: 4 kB / 0.722 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5864, allocations: 4 kB / 0.722 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.5881, allocations: 0.8593 MB / 0.7228 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.5887, allocations: 283.2 kB / 0.7231 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.5889, allocations: 12 kB / 0.7231 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.5897, allocations: 44.16 kB / 0.7232 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.5898, allocations: 43.88 kB / 0.7232 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.5899, allocations: 27.92 kB / 0.7232 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0016/0.5915, allocations: 0.8709 MB / 0.7241 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5915, allocations: 4 kB / 0.7241 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001972/0.5934, allocations: 0.589 MB / 0.7247 GB, free: 10.29 MB / 0.5606 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.001254/0.5947, allocations: 452.1 kB / 0.7251 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003032/0.5978, allocations: 1.037 MB / 0.7261 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5978, allocations: 0 / 0.7261 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.5986, allocations: 330 kB / 0.7264 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/0.6021, allocations: 0.7198 MB / 0.7271 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.6061, allocations: 2.078 MB / 0.7292 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6072, allocations: 1.141 MB / 0.7303 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.6076, allocations: 115.4 kB / 0.7304 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.6076, allocations: 3.938 kB / 0.7304 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.3149/0.9225, allocations: 23.29 MB / 0.7531 GB, free: 151.7 MB / 0.5762 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)