Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.307/0.307, allocations: 54.42 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 180.1 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.494/1.494, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001607/0.001607, allocations: 112.7 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/1.992e-05, allocations: 4 kB / 405.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3432, allocations: 57.65 MB / 463.2 MB, free: 51.8 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6223/0.9656, allocations: 342.2 MB / 0.7865 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.9659, allocations: 95.25 kB / 0.7866 GB, free: 15.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5998/1.566, allocations: 161.9 MB / 0.9447 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.613e-06/1.566, allocations: 4 kB / 0.9447 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.861e-05/1.566, allocations: 11.75 kB / 0.9447 GB, free: 83.45 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001503/1.567, allocations: 0.8193 MB / 0.9455 GB, free: 82.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.567, allocations: 12.03 kB / 0.9455 GB, free: 82.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/1.568, allocations: 71.25 kB / 0.9456 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/1.569, allocations: 464.9 kB / 0.9461 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/1.569, allocations: 15.95 kB / 0.9461 GB, free: 82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/1.569, allocations: 20 kB / 0.9461 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003574/1.569, allocations: 185.5 kB / 0.9463 GB, free: 81.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/1.57, allocations: 334.4 kB / 0.9466 GB, free: 81.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/1.57, allocations: 7.875 kB / 0.9466 GB, free: 81.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/1.57, allocations: 4 kB / 0.9466 GB, free: 81.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.57, allocations: 11.98 kB / 0.9466 GB, free: 81.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/1.572, allocations: 2.136 MB / 0.9487 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/1.572, allocations: 114.6 kB / 0.9488 GB, free: 79.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/1.572, allocations: 44.86 kB / 0.9488 GB, free: 79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.573, allocations: 0.9279 MB / 0.9498 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/1.573, allocations: 34.56 kB / 0.9498 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/1.573, allocations: 0 / 0.9498 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007314/1.574, allocations: 209 kB / 0.95 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/1.574, allocations: 106.8 kB / 0.9501 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/1.575, allocations: 489.2 kB / 0.9506 GB, free: 77.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.575, allocations: 29.7 kB / 0.9506 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/1.575, allocations: 307.5 kB / 0.9509 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/1.575, allocations: 51.38 kB / 0.9509 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/1.575, allocations: 0 / 0.9509 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/1.575, allocations: 358.8 kB / 0.9513 GB, free: 76.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/1.575, allocations: 67.98 kB / 0.9513 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/1.575, allocations: 259.8 kB / 0.9516 GB, free: 75.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/1.575, allocations: 119.9 kB / 0.9517 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.575, allocations: 4 kB / 0.9517 GB, free: 75.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005468/1.576, allocations: 321.1 kB / 0.952 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/1.576, allocations: 1.684 MB / 0.9536 GB, free: 73.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.576, allocations: 4 kB / 0.9536 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.576, allocations: 15.95 kB / 0.9537 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/1.577, allocations: 99.81 kB / 0.9538 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.577, allocations: 8 kB / 0.9538 GB, free: 73.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/1.577, allocations: 67.55 kB / 0.9538 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/1.577, allocations: 16 kB / 0.9538 GB, free: 73.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/1.577, allocations: 4 kB / 0.9539 GB, free: 73.46 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004159/1.578, allocations: 245.2 kB / 0.9541 GB, free: 73.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.578, allocations: 4 kB / 0.9541 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/1.578, allocations: 8 kB / 0.9541 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/1.578, allocations: 71.91 kB / 0.9542 GB, free: 73.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.578, allocations: 15.92 kB / 0.9542 GB, free: 73.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/1.578, allocations: 48 kB / 0.9542 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/1.578, allocations: 16 kB / 0.9542 GB, free: 73.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/1.579, allocations: 116.8 kB / 0.9544 GB, free: 72.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/1.579, allocations: 51.38 kB / 0.9544 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/1.579, allocations: 177.7 kB / 0.9546 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.579, allocations: 7.938 kB / 0.9546 GB, free: 72.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.579, allocations: 4 kB / 0.9546 GB, free: 72.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.579, allocations: 0 / 0.9546 GB, free: 72.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/1.58, allocations: 349.4 kB / 0.9549 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.58, allocations: 4 kB / 0.9549 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/1.58, allocations: 39.97 kB / 0.955 GB, free: 72.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.58, allocations: 0 / 0.955 GB, free: 72.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/1.58, allocations: 4 kB / 0.955 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.58, allocations: 4 kB / 0.955 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.58, allocations: 3.984 kB / 0.955 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/1.58, allocations: 310.9 kB / 0.9553 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.581, allocations: 140.5 kB / 0.9554 GB, free: 71.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/1.581, allocations: 0 / 0.9554 GB, free: 71.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/1.581, allocations: 36.02 kB / 0.9554 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/1.581, allocations: 7.984 kB / 0.9554 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/1.581, allocations: 4 kB / 0.9554 GB, free: 71.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004056/1.581, allocations: 366.9 kB / 0.9558 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.581, allocations: 0 / 0.9558 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001196/1.583, allocations: 271.4 kB / 0.9561 GB, free: 71.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/1.584, allocations: 435.6 kB / 0.9565 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006255/1.585, allocations: 424.9 kB / 0.9569 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.585, allocations: 4 kB / 0.9569 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/1.585, allocations: 38.25 kB / 0.9569 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/1.586, allocations: 209.8 kB / 0.9571 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/1.589, allocations: 0.8844 MB / 0.958 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/1.589, allocations: 0.863 MB / 0.9588 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000589/1.59, allocations: 176.2 kB / 0.959 GB, free: 68.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/1.59, allocations: 31.38 kB / 0.959 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/1.59, allocations: 0 / 0.959 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.01515/1.605, allocations: 9.639 MB / 0.9684 GB, free: 58.43 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)