Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Annex60.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.002031/0.002031, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4204/0.4204, allocations: 55.01 MB / 325.4 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.000563, allocations: 12 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4403, allocations: 60.72 MB / 457.4 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.Damper): time 0.2066/0.647, allocations: 147.1 MB / 0.5903 GB, free: 4.133 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.6584, allocations: 4.345 MB / 0.5945 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.6597, allocations: 7.938 kB / 0.5946 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.6611, allocations: 174.9 kB / 0.5947 GB, free: 15.61 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002605/0.6637, allocations: 430.9 kB / 0.5951 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.6661, allocations: 458 kB / 0.5956 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.6683, allocations: 1.139 MB / 0.5967 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008269/0.6692, allocations: 241.8 kB / 0.5969 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.6705, allocations: 422.3 kB / 0.5973 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.6712, allocations: 322.8 kB / 0.5976 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/0.6713, allocations: 20.75 kB / 0.5976 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.6725, allocations: 475.3 kB / 0.5981 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.6727, allocations: 159.5 kB / 0.5982 GB, free: 12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.6729, allocations: 109.5 kB / 0.5984 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009693/0.6739, allocations: 0.5845 MB / 0.5989 GB, free: 11.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.6739, allocations: 4 kB / 0.5989 GB, free: 11.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6739, allocations: 0 / 0.5989 GB, free: 11.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.6739, allocations: 0 / 0.5989 GB, free: 11.29 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002026/0.676, allocations: 0.7548 MB / 0.5997 GB, free: 10.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.676, allocations: 15.97 kB / 0.5997 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.6765, allocations: 63.42 kB / 0.5997 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.6773, allocations: 401 kB / 0.6001 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.6774, allocations: 24.5 kB / 0.6001 GB, free: 9.949 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.6775, allocations: 33.72 kB / 0.6002 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.6787, allocations: 372.7 kB / 0.6005 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6788, allocations: 0.8438 kB / 0.6005 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.6788, allocations: 12 kB / 0.6005 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.6789, allocations: 4 kB / 0.6006 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.6799, allocations: 318 kB / 0.6009 GB, free: 9.223 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.6823, allocations: 1.106 MB / 0.6019 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.6831, allocations: 166.5 kB / 0.6021 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.6834, allocations: 76.94 kB / 0.6022 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.6834, allocations: 7.938 kB / 0.6022 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.6835, allocations: 39.19 kB / 0.6022 GB, free: 7.734 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.6835, allocations: 0 / 0.6022 GB, free: 7.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.001501/0.685, allocations: 336.9 kB / 0.6025 GB, free: 7.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.685, allocations: 51.41 kB / 0.6026 GB, free: 7.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009372/0.686, allocations: 0.5136 MB / 0.6031 GB, free: 6.816 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.6861, allocations: 33.7 kB / 0.6031 GB, free: 6.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.6863, allocations: 239.7 kB / 0.6033 GB, free: 6.539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.6864, allocations: 31.55 kB / 0.6034 GB, free: 6.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.6864, allocations: 4 kB / 0.6034 GB, free: 6.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.6866, allocations: 350.8 kB / 0.6037 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.687, allocations: 91.94 kB / 0.6038 GB, free: 6.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.6874, allocations: 170.7 kB / 0.604 GB, free: 5.859 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.6878, allocations: 105.1 kB / 0.6041 GB, free: 5.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6878, allocations: 0 / 0.6041 GB, free: 5.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000945/0.6888, allocations: 308.8 kB / 0.6044 GB, free: 5.449 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.6889, allocations: 145 kB / 0.6045 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.689, allocations: 4 kB / 0.6045 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.689, allocations: 3.953 kB / 0.6045 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.6912, allocations: 279.7 kB / 0.6048 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.6947, allocations: 1.623 MB / 0.6064 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000712/0.6954, allocations: 59.75 kB / 0.6064 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.6955, allocations: 4 kB / 0.6064 GB, free: 3.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6955, allocations: 4 kB / 0.6064 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007234/0.6962, allocations: 200.5 kB / 0.6066 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6963, allocations: 4.875 kB / 0.6066 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6963, allocations: 4 kB / 0.6066 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.6966, allocations: 51.91 kB / 0.6067 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.6966, allocations: 12.88 kB / 0.6067 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.6972, allocations: 35.67 kB / 0.6067 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.6972, allocations: 12 kB / 0.6067 GB, free: 2.867 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003638/0.6976, allocations: 256 kB / 0.607 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.6977, allocations: 39.53 kB / 0.607 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.6984, allocations: 245.3 kB / 0.6072 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.6984, allocations: 11.98 kB / 0.6073 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6984, allocations: 0.8125 kB / 0.6073 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6985, allocations: 0 / 0.6073 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.7002, allocations: 0.749 MB / 0.608 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.7003, allocations: 4 kB / 0.608 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.7019, allocations: 239.9 kB / 0.6082 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7019, allocations: 0.5625 kB / 0.6082 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.7019, allocations: 7.953 kB / 0.6082 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.7047, allocations: 1.596 MB / 0.6098 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.7047, allocations: 4.031 kB / 0.6098 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.7056, allocations: 376.1 kB / 0.6101 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.706, allocations: 152.6 kB / 0.6103 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7061, allocations: 3.953 kB / 0.6103 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.7067, allocations: 35.88 kB / 0.6103 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.7068, allocations: 15.98 kB / 0.6103 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.7069, allocations: 16.08 kB / 0.6104 GB, free: 14.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007015/0.7076, allocations: 387 kB / 0.6107 GB, free: 14.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7076, allocations: 0 / 0.6107 GB, free: 14.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001167/0.7088, allocations: 187.8 kB / 0.6109 GB, free: 14.31 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005715/0.7093, allocations: 152.1 kB / 0.6111 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002795/0.7122, allocations: 0.5348 MB / 0.6116 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7122, allocations: 0.625 kB / 0.6116 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003365/0.7156, allocations: 483.8 kB / 0.612 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.7177, allocations: 225.5 kB / 0.6123 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.7204, allocations: 0.9523 MB / 0.6132 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.7212, allocations: 0.8155 MB / 0.614 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006798/0.7219, allocations: 95.47 kB / 0.6141 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.7221, allocations: 31.44 kB / 0.6141 GB, free: 10.99 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7221, allocations: 0 / 0.6141 GB, free: 10.99 MB / 494.1 MB Notification: Performance of Templates: time 0.02084/0.7429, allocations: 7.959 MB / 0.6219 GB, free: 3.156 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) Environment - environmentSimulation: