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.0008908/0.0008911, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006042/0.006042, allocations: 172 kB / 16.26 MB, free: 6.613 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8051/0.8051, allocations: 132.4 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 8.906 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5335, allocations: 81.59 MB / 0.5837 GB, free: 4.031 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.09178/0.6253, allocations: 83.56 MB / 0.6653 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02229/0.6476, allocations: 13.85 MB / 0.6788 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004919/0.6526, allocations: 67.56 kB / 0.6789 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.6561, allocations: 0.7462 MB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.6624, allocations: 1.641 MB / 0.6812 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.6671, allocations: 1.482 MB / 0.6827 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006551/0.6737, allocations: 4.514 MB / 0.6871 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.6761, allocations: 1.059 MB / 0.6881 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.68, allocations: 1.283 MB / 0.6894 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.6826, allocations: 0.9838 MB / 0.6903 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.683, allocations: 52 kB / 0.6904 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.6862, allocations: 1.143 MB / 0.6915 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005454/0.6868, allocations: 318.7 kB / 0.6918 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.688, allocations: 0.6699 MB / 0.6924 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.6921, allocations: 2.325 MB / 0.6947 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.6922, allocations: 4 kB / 0.6947 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.518e-06/0.6922, allocations: 0 / 0.6947 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.045e-05/0.6922, allocations: 7.938 kB / 0.6947 GB, free: 14.72 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.003074/0.6953, allocations: 1.542 MB / 0.6962 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6954, allocations: 8.031 kB / 0.6962 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.6971, allocations: 362.8 kB / 0.6966 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.6998, allocations: 1.162 MB / 0.6977 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.7002, allocations: 121.9 kB / 0.6978 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.7004, allocations: 76 kB / 0.6979 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.7023, allocations: 0.9431 MB / 0.6988 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.7024, allocations: 0 / 0.6988 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-05/0.7025, allocations: 32 kB / 0.6989 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.7025, allocations: 16 kB / 0.6989 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.7044, allocations: 0.8041 MB / 0.6997 GB, free: 9.527 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.007146/0.7116, allocations: 4.369 MB / 0.7039 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.7129, allocations: 482.6 kB / 0.7044 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.7134, allocations: 244.7 kB / 0.7046 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002991/0.7164, allocations: 2.067 MB / 0.7066 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.7165, allocations: 30.56 kB / 0.7067 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006234/0.7171, allocations: 111.2 kB / 0.7068 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=36): time 2.275e-06/0.7171, allocations: 4 kB / 0.7068 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36): time 0.001839/0.719, allocations: 0.7494 MB / 0.7075 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.719, allocations: 55.41 kB / 0.7076 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.7209, allocations: 1.252 MB / 0.7088 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.721, allocations: 33.7 kB / 0.7088 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.7215, allocations: 0.5756 MB / 0.7094 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.7216, allocations: 130 kB / 0.7095 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.7217, allocations: 61.69 kB / 0.7096 GB, free: 14.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7219, allocations: 322 kB / 0.7099 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.7226, allocations: 281 kB / 0.7101 GB, free: 14.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.7235, allocations: 0.5186 MB / 0.7106 GB, free: 13.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.725, allocations: 0.7344 MB / 0.7114 GB, free: 12.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.7251, allocations: 4 kB / 0.7114 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002317/0.7274, allocations: 0.9173 MB / 0.7123 GB, free: 11.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003593/0.7278, allocations: 294.6 kB / 0.7125 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.7278, allocations: 4 kB / 0.7125 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.541e-05/0.7278, allocations: 12 kB / 0.7126 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/0.7287, allocations: 171.8 kB / 0.7127 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/0.7287, allocations: 15.92 kB / 0.7127 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.7301, allocations: 112.6 kB / 0.7128 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.7302, allocations: 39.97 kB / 0.7129 GB, free: 11.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.7303, allocations: 4.094 kB / 0.7129 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001712/0.732, allocations: 0.7261 MB / 0.7136 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.732, allocations: 8 kB / 0.7136 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.732, allocations: 20.16 kB / 0.7136 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.7327, allocations: 167.7 kB / 0.7138 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.7327, allocations: 11.94 kB / 0.7138 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/0.7337, allocations: 116.4 kB / 0.7139 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/0.7337, allocations: 47.91 kB / 0.7139 GB, free: 10 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.0006526/0.7344, allocations: 372.9 kB / 0.7143 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.7346, allocations: 126.4 kB / 0.7144 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.7368, allocations: 0.9313 MB / 0.7153 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.7368, allocations: 19.92 kB / 0.7154 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7368, allocations: 0 / 0.7154 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.7368, allocations: 3.984 kB / 0.7154 GB, free: 8.559 MB / 0.545 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.003305/0.7401, allocations: 1.83 MB / 0.7171 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7402, allocations: 0 / 0.7171 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.7407, allocations: 107.8 kB / 0.7172 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.7407, allocations: 4 kB / 0.7173 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.7407, allocations: 19.98 kB / 0.7173 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.7407, allocations: 4 kB / 0.7173 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7408, allocations: 0 / 0.7173 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.7424, allocations: 0.8778 MB / 0.7181 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.7429, allocations: 287.2 kB / 0.7184 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.743, allocations: 12 kB / 0.7184 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.7437, allocations: 67.89 kB / 0.7185 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.7438, allocations: 47.83 kB / 0.7185 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.7438, allocations: 19.98 kB / 0.7185 GB, free: 5.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001433/0.7453, allocations: 0.871 MB / 0.7194 GB, free: 4.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7453, allocations: 0 / 0.7194 GB, free: 4.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001786/0.7471, allocations: 0.5812 MB / 0.72 GB, free: 3.691 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 (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.001543/0.7486, allocations: 451.9 kB / 0.7204 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003159/0.7518, allocations: 1.043 MB / 0.7214 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.7519, allocations: 0 / 0.7214 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.7526, allocations: 325.2 kB / 0.7217 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/0.7567, allocations: 0.665 MB / 0.7224 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.761, allocations: 2.468 MB / 0.7248 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.7619, allocations: 1.149 MB / 0.7259 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001666/0.7636, allocations: 332.1 kB / 0.7262 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.7639, allocations: 107.4 kB / 0.7263 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.964e-06/0.7639, allocations: 0 / 0.7263 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.05107/0.815, allocations: 26.24 MB / 0.7519 GB, free: 3.297 MB / 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)