Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7935/0.7935, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 396.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 103.7 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.055e-05, allocations: 4.031 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 81.57 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.323, allocations: 356.4 MB / 0.9828 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.323, allocations: 89.3 kB / 0.9829 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9328/2.256, allocations: 294.5 MB / 1.271 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.325e-06/2.256, allocations: 1.469 kB / 1.271 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.093e-05/2.256, allocations: 18.25 kB / 1.271 GB, free: 173.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001471/2.258, allocations: 0.905 MB / 1.271 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/2.258, allocations: 12.56 kB / 1.271 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/2.258, allocations: 82.8 kB / 1.272 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/2.259, allocations: 0.5701 MB / 1.272 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/2.259, allocations: 35.03 kB / 1.272 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/2.259, allocations: 38.06 kB / 1.272 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/2.26, allocations: 287.1 kB / 1.272 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/2.26, allocations: 0 / 1.272 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/2.26, allocations: 14.03 kB / 1.272 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/2.26, allocations: 13 kB / 1.272 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/2.26, allocations: 219 kB / 1.273 GB, free: 173.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002409/2.262, allocations: 1.568 MB / 1.274 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/2.263, allocations: 207.6 kB / 1.274 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/2.263, allocations: 80.66 kB / 1.274 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/2.263, allocations: 425.5 kB / 1.275 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/2.263, allocations: 32.75 kB / 1.275 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/2.263, allocations: 3.219 kB / 1.275 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0005367/2.264, allocations: 240.5 kB / 1.275 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/2.264, allocations: 53.38 kB / 1.275 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/2.265, allocations: 0.5625 MB / 1.276 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/2.265, allocations: 32.3 kB / 1.276 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/2.265, allocations: 306.1 kB / 1.276 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/2.265, allocations: 69.73 kB / 1.276 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/2.265, allocations: 11.78 kB / 1.276 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001032/2.265, allocations: 373.2 kB / 1.276 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/2.265, allocations: 114.4 kB / 1.277 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/2.266, allocations: 211.8 kB / 1.277 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/2.266, allocations: 146 kB / 1.277 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/2.266, allocations: 1.219 kB / 1.277 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006712/2.267, allocations: 422 kB / 1.277 GB, free: 171 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/2.267, allocations: 453 kB / 1.278 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/2.267, allocations: 1.125 kB / 1.278 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/2.267, allocations: 3.031 kB / 1.278 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/2.268, allocations: 134.4 kB / 1.278 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005193/2.268, allocations: 1.193 MB / 1.279 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/2.269, allocations: 73.02 kB / 1.279 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/2.269, allocations: 24.64 kB / 1.279 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/2.269, allocations: 4.25 kB / 1.279 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000583/2.269, allocations: 324.8 kB / 1.279 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/2.269, allocations: 4.875 kB / 1.279 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/2.269, allocations: 4.125 kB / 1.279 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/2.27, allocations: 123.5 kB / 1.28 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/2.27, allocations: 7.938 kB / 1.28 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/2.27, allocations: 59.78 kB / 1.28 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/2.27, allocations: 23.17 kB / 1.28 GB, free: 169.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/2.271, allocations: 129.3 kB / 1.28 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/2.271, allocations: 63.19 kB / 1.28 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/2.271, allocations: 303.6 kB / 1.28 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/2.271, allocations: 2.5 kB / 1.28 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.271, allocations: 1.938 kB / 1.28 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/2.271, allocations: 3.703 kB / 1.28 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/2.273, allocations: 0.8934 MB / 1.281 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/2.273, allocations: 1.25 kB / 1.281 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/2.273, allocations: 66.89 kB / 1.281 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/2.273, allocations: 2.062 kB / 1.281 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/2.273, allocations: 6.312 kB / 1.281 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003649/2.273, allocations: 1.187 MB / 1.282 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.273, allocations: 5.641 kB / 1.282 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/2.274, allocations: 0.5237 MB / 1.283 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/2.274, allocations: 187.6 kB / 1.283 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/2.274, allocations: 6.688 kB / 1.283 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/2.275, allocations: 32.56 kB / 1.283 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/2.275, allocations: 22.83 kB / 1.283 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/2.275, allocations: 9.719 kB / 1.283 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006636/2.275, allocations: 442.4 kB / 1.283 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.275, allocations: 0.5625 kB / 1.283 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001368/2.277, allocations: 330.3 kB / 1.284 GB, free: 167.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006546/2.277, allocations: 380.6 kB / 1.284 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001084/2.279, allocations: 499.2 kB / 1.285 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.279, allocations: 3.188 kB / 1.285 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/2.279, allocations: 118 kB / 1.285 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/2.28, allocations: 291.2 kB / 1.285 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/2.281, allocations: 0.7403 MB / 1.286 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/2.282, allocations: 0.9037 MB / 1.287 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005976/2.282, allocations: 162.2 kB / 1.287 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/2.282, allocations: 41.03 kB / 1.287 GB, free: 166 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/2.282, allocations: 0 / 1.287 GB, free: 166 MB / 0.6823 GB Notification: Performance of Templates: time 0.01946/2.302, allocations: 13.42 MB / 1.3 GB, free: 165.8 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)