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.001477/0.001477, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00178/0.00178, allocations: 188.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4422/0.4422, allocations: 54.93 MB / 324.4 MB, free: 116 kB / 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.001415/0.001416, allocations: 71.89 kB / 394.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1505, allocations: 59.59 MB / 454.5 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.Damper): time 0.4243/0.5749, allocations: 159.8 MB / 0.5998 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008273/0.5832, allocations: 4.613 MB / 0.6043 GB, free: 3.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005455/0.5838, allocations: 7.938 kB / 0.6043 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008316/0.5847, allocations: 226.9 kB / 0.6046 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.5861, allocations: 473.9 kB / 0.605 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.5878, allocations: 0.5583 MB / 0.6056 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.589, allocations: 1.01 MB / 0.6065 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.5894, allocations: 304 kB / 0.6068 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007973/0.5902, allocations: 478.2 kB / 0.6073 GB, free: 492 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.5906, allocations: 338.7 kB / 0.6076 GB, free: 152 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.5907, allocations: 48.66 kB / 0.6077 GB, free: 104 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009182/0.5917, allocations: 0.5498 MB / 0.6082 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.5918, allocations: 179.5 kB / 0.6084 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.5921, allocations: 258.8 kB / 0.6086 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.593, allocations: 0.7946 MB / 0.6094 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.593, allocations: 0 / 0.6094 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.593, allocations: 0 / 0.6094 GB, free: 14.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.593, allocations: 1.125 kB / 0.6094 GB, free: 14.32 MB / 494.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.001644/0.5947, allocations: 0.8556 MB / 0.6102 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.5947, allocations: 12.03 kB / 0.6102 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.595, allocations: 59.42 kB / 0.6103 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.5956, allocations: 420.3 kB / 0.6107 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.5956, allocations: 24.56 kB / 0.6107 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.5956, allocations: 24 kB / 0.6107 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.5965, allocations: 364.7 kB / 0.6111 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5965, allocations: 0 / 0.6111 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.5965, allocations: 12 kB / 0.6111 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5965, allocations: 8 kB / 0.6111 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.5973, allocations: 294.9 kB / 0.6114 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.599, allocations: 1.11 MB / 0.6125 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.5995, allocations: 154.6 kB / 0.6126 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.5997, allocations: 64.88 kB / 0.6127 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5997, allocations: 4 kB / 0.6127 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.5998, allocations: 38.5 kB / 0.6127 GB, free: 10.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.5998, allocations: 4 kB / 0.6127 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009876/0.6008, allocations: 295.6 kB / 0.613 GB, free: 10.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.6008, allocations: 55.34 kB / 0.6131 GB, free: 10.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/0.6014, allocations: 0.5329 MB / 0.6136 GB, free: 9.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.6015, allocations: 29.7 kB / 0.6136 GB, free: 9.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.6017, allocations: 231.8 kB / 0.6138 GB, free: 9.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.6017, allocations: 31.55 kB / 0.6139 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.6018, allocations: 45.61 kB / 0.6139 GB, free: 9.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6019, allocations: 346.8 kB / 0.6142 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.6022, allocations: 88.8 kB / 0.6143 GB, free: 9.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.6024, allocations: 156 kB / 0.6145 GB, free: 8.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.6029, allocations: 226.8 kB / 0.6147 GB, free: 8.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6029, allocations: 4 kB / 0.6147 GB, free: 8.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005606/0.6034, allocations: 280.9 kB / 0.615 GB, free: 8.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6035, allocations: 4.781 kB / 0.615 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6035, allocations: 4.188 kB / 0.615 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.6035, allocations: 8 kB / 0.615 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.605, allocations: 211.5 kB / 0.6152 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.6075, allocations: 1.659 MB / 0.6168 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.608, allocations: 55.69 kB / 0.6169 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.608, allocations: 8.562 kB / 0.6169 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003237/0.6084, allocations: 192.9 kB / 0.617 GB, free: 6.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002207/0.6086, allocations: 159.7 kB / 0.6172 GB, free: 5.844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003377/0.6089, allocations: 205.5 kB / 0.6174 GB, free: 5.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.6089, allocations: 0 / 0.6174 GB, free: 5.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005182/0.6095, allocations: 267.4 kB / 0.6176 GB, free: 5.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6095, allocations: 8.938 kB / 0.6177 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.6095, allocations: 0 / 0.6177 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.6095, allocations: 4 kB / 0.6177 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.6097, allocations: 47.91 kB / 0.6177 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.6097, allocations: 0 / 0.6177 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.6101, allocations: 36.12 kB / 0.6177 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.6101, allocations: 8.859 kB / 0.6177 GB, free: 5.246 MB / 494.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.6103, allocations: 197 kB / 0.6179 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.6104, allocations: 43.53 kB / 0.618 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.6109, allocations: 225.9 kB / 0.6182 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.611, allocations: 0 / 0.6182 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.611, allocations: 0 / 0.6182 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.611, allocations: 0 / 0.6182 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6122, allocations: 0.7396 MB / 0.6189 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6122, allocations: 4 kB / 0.6189 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6134, allocations: 176 kB / 0.6191 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.6134, allocations: 8.984 kB / 0.6191 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.6134, allocations: 4 kB / 0.6191 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.6157, allocations: 1.627 MB / 0.6207 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6157, allocations: 0 / 0.6207 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.6164, allocations: 356.5 kB / 0.621 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.6167, allocations: 152.6 kB / 0.6212 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.6167, allocations: 9.125 kB / 0.6212 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.6172, allocations: 23.97 kB / 0.6212 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.6172, allocations: 19.92 kB / 0.6212 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.6173, allocations: 11.98 kB / 0.6212 GB, free: 1.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004498/0.6177, allocations: 395 kB / 0.6216 GB, free: 1.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6178, allocations: 0 / 0.6216 GB, free: 1.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006935/0.6185, allocations: 187.7 kB / 0.6218 GB, free: 0.8281 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004609/0.6189, allocations: 153.1 kB / 0.6219 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.621, allocations: 460.5 kB / 0.6224 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.621, allocations: 0 / 0.6224 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.6234, allocations: 388.6 kB / 0.6227 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6246, allocations: 222.7 kB / 0.623 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.6265, allocations: 0.9176 MB / 0.6239 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.6269, allocations: 0.8191 MB / 0.6247 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000411/0.6273, allocations: 88.09 kB / 0.6247 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.6274, allocations: 39.42 kB / 0.6248 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.6274, allocations: 4 kB / 0.6248 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.01608/0.6435, allocations: 8.493 MB / 0.6331 GB, free: 5.383 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.Damper.makefile (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)