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.001534/0.001534, allocations: 109.8 kB / 15.99 MB, free: 6.34 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.001353/0.001354, allocations: 195.1 kB / 16.91 MB, free: 6.18 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.793/0.793, allocations: 135.2 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.89 kB / 0.5056 GB, free: 8.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 80.92 MB / 0.5846 GB, free: 25.07 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.08308/0.3854, allocations: 85.53 MB / 0.6681 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.4047, allocations: 13.84 MB / 0.6816 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.4071, allocations: 67.56 kB / 0.6817 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.4095, allocations: 0.7735 MB / 0.6824 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.4138, allocations: 1.648 MB / 0.6841 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.4175, allocations: 1.519 MB / 0.6855 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004421/0.4219, allocations: 3.325 MB / 0.6888 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.4237, allocations: 1.263 MB / 0.69 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.427, allocations: 1.518 MB / 0.6915 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.4285, allocations: 1.042 MB / 0.6925 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.4287, allocations: 123.9 kB / 0.6926 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.4309, allocations: 1.205 MB / 0.6938 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004047/0.4314, allocations: 402.6 kB / 0.6942 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007698/0.4321, allocations: 0.7269 MB / 0.6949 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.4344, allocations: 1.844 MB / 0.6967 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4344, allocations: 3.938 kB / 0.6967 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4344, allocations: 0 / 0.6967 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.4345, allocations: 0 / 0.6967 GB, free: 7.926 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.002864/0.4373, allocations: 1.789 MB / 0.6985 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4374, allocations: 13.11 kB / 0.6985 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.439, allocations: 330.8 kB / 0.6988 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.4411, allocations: 1.17 MB / 0.6999 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.4415, allocations: 121.9 kB / 0.7001 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.4416, allocations: 72 kB / 0.7001 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.4435, allocations: 0.9276 MB / 0.701 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4435, allocations: 0 / 0.701 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.4436, allocations: 24 kB / 0.701 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.4436, allocations: 20 kB / 0.7011 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.4455, allocations: 0.7885 MB / 0.7018 GB, free: 2.547 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.0064/0.4519, allocations: 4.33 MB / 0.7061 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.4531, allocations: 482.8 kB / 0.7065 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.4537, allocations: 248.5 kB / 0.7068 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002615/0.4563, allocations: 2.036 MB / 0.7088 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4564, allocations: 42.55 kB / 0.7088 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005022/0.4569, allocations: 103.2 kB / 0.7089 GB, free: 10.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/0.4569, allocations: 0 / 0.7089 GB, free: 10.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.001839/0.4587, allocations: 0.7615 MB / 0.7096 GB, free: 10 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4588, allocations: 55.41 kB / 0.7097 GB, free: 9.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.4604, allocations: 1.241 MB / 0.7109 GB, free: 8.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.4605, allocations: 37.7 kB / 0.7109 GB, free: 8.641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.461, allocations: 0.5756 MB / 0.7115 GB, free: 8.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4611, allocations: 130.1 kB / 0.7116 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.4614, allocations: 146.1 kB / 0.7118 GB, free: 7.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4615, allocations: 326 kB / 0.7121 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/0.4622, allocations: 291 kB / 0.7123 GB, free: 7.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/0.4631, allocations: 0.5069 MB / 0.7128 GB, free: 6.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.4646, allocations: 0.7303 MB / 0.7136 GB, free: 5.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4646, allocations: 7.938 kB / 0.7136 GB, free: 5.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001987/0.4666, allocations: 0.9021 MB / 0.7144 GB, free: 4.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4666, allocations: 8 kB / 0.7145 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4666, allocations: 8.031 kB / 0.7145 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4666, allocations: 15.94 kB / 0.7145 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.4674, allocations: 179.7 kB / 0.7146 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.4674, allocations: 12 kB / 0.7147 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/0.4684, allocations: 108.5 kB / 0.7148 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.4685, allocations: 47.95 kB / 0.7148 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009625/0.4694, allocations: 493.2 kB / 0.7153 GB, free: 3.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008337/0.4703, allocations: 0.491 MB / 0.7158 GB, free: 3.375 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/0.4715, allocations: 0.6916 MB / 0.7164 GB, free: 2.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.84e-06/0.4715, allocations: 4 kB / 0.7164 GB, free: 2.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001803/0.4734, allocations: 0.8548 MB / 0.7173 GB, free: 1.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4734, allocations: 8 kB / 0.7173 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4734, allocations: 8 kB / 0.7173 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4734, allocations: 11.94 kB / 0.7173 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.474, allocations: 171.8 kB / 0.7175 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.4741, allocations: 8 kB / 0.7175 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.4749, allocations: 96.41 kB / 0.7176 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.475, allocations: 39.98 kB / 0.7176 GB, free: 1.391 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 (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.0002052/0.4752, allocations: 224 kB / 0.7178 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.4754, allocations: 126.4 kB / 0.7179 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.4774, allocations: 0.9335 MB / 0.7188 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.4774, allocations: 8 kB / 0.7189 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4775, allocations: 0 / 0.7189 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4775, allocations: 7.984 kB / 0.7189 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.4804, allocations: 1.815 MB / 0.7206 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4804, allocations: 0 / 0.7206 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.4809, allocations: 99.88 kB / 0.7207 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.4809, allocations: 4 kB / 0.7207 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.481, allocations: 23.92 kB / 0.7208 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.481, allocations: 4 kB / 0.7208 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.481, allocations: 0 / 0.7208 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.4825, allocations: 0.8858 MB / 0.7216 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.4829, allocations: 287.2 kB / 0.7219 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.483, allocations: 12 kB / 0.7219 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.4837, allocations: 63.78 kB / 0.722 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.4838, allocations: 35.89 kB / 0.722 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.4838, allocations: 27.98 kB / 0.722 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001197/0.485, allocations: 0.8671 MB / 0.7229 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.933e-06/0.4851, allocations: 0 / 0.7229 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001508/0.4866, allocations: 0.589 MB / 0.7235 GB, free: 11.25 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 (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.0009258/0.4875, allocations: 452.7 kB / 0.7239 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002488/0.49, allocations: 1.07 MB / 0.7249 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.49, allocations: 4.438 kB / 0.7249 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.4907, allocations: 331.5 kB / 0.7252 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.4934, allocations: 0.7232 MB / 0.726 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.4967, allocations: 2.461 MB / 0.7284 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.4975, allocations: 1.137 MB / 0.7295 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.4978, allocations: 119.4 kB / 0.7296 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4978, allocations: 3.938 kB / 0.7296 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of Templates: time 0.2517/0.7495, allocations: 23.16 MB / 0.7522 GB, free: 151.1 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)