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.001324/0.001324, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001593, allocations: 198 kB / 16.53 MB, free: 6.672 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.7/1.7, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.429/0.429, allocations: 54.95 MB / 324.7 MB, free: 15.91 MB / 270.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.001442/0.001442, allocations: 72.42 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.129, allocations: 59.59 MB / 454.9 MB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.Damper): time 0.4012/0.5302, allocations: 162 MB / 0.6025 GB, free: 5.414 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007707/0.5379, allocations: 4.551 MB / 0.6069 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.5384, allocations: 15.88 kB / 0.6069 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.5393, allocations: 246.5 kB / 0.6071 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.5406, allocations: 0.5054 MB / 0.6076 GB, free: 96 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.542, allocations: 0.5962 MB / 0.6082 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.5432, allocations: 1.006 MB / 0.6092 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.5436, allocations: 311.7 kB / 0.6095 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.5443, allocations: 482.2 kB / 0.61 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.5448, allocations: 322.7 kB / 0.6103 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.5449, allocations: 40 kB / 0.6103 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008991/0.5458, allocations: 0.5421 MB / 0.6108 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.546, allocations: 175.5 kB / 0.611 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.5462, allocations: 258.8 kB / 0.6113 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.5472, allocations: 0.779 MB / 0.612 GB, free: 11.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5472, allocations: 5.219 kB / 0.612 GB, free: 11.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.5472, allocations: 0 / 0.612 GB, free: 11.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.5472, allocations: 0 / 0.612 GB, free: 11.61 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.001811/0.549, allocations: 0.8556 MB / 0.6129 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5491, allocations: 8.031 kB / 0.6129 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.5494, allocations: 67.42 kB / 0.6129 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.5501, allocations: 418.9 kB / 0.6133 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.5501, allocations: 20.56 kB / 0.6133 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.5502, allocations: 28 kB / 0.6134 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.5511, allocations: 360.7 kB / 0.6137 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5511, allocations: 3.984 kB / 0.6137 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.5511, allocations: 16 kB / 0.6137 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.5511, allocations: 8.75 kB / 0.6137 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007399/0.5519, allocations: 294 kB / 0.614 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.5538, allocations: 1.106 MB / 0.6151 GB, free: 8.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.5544, allocations: 158.5 kB / 0.6153 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.5546, allocations: 64.94 kB / 0.6153 GB, free: 8.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.5546, allocations: 4 kB / 0.6153 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.5547, allocations: 31.31 kB / 0.6154 GB, free: 8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 3.557e-06/0.5547, allocations: 7.922 kB / 0.6154 GB, free: 7.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001/0.5557, allocations: 298.6 kB / 0.6156 GB, free: 7.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5557, allocations: 59.28 kB / 0.6157 GB, free: 7.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/0.5564, allocations: 0.529 MB / 0.6162 GB, free: 7.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.5564, allocations: 29.7 kB / 0.6162 GB, free: 7.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.5566, allocations: 227.8 kB / 0.6165 GB, free: 6.828 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.5567, allocations: 39.48 kB / 0.6165 GB, free: 6.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.5568, allocations: 45.61 kB / 0.6165 GB, free: 6.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5569, allocations: 350.8 kB / 0.6169 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.5571, allocations: 84.8 kB / 0.617 GB, free: 6.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.5574, allocations: 160 kB / 0.6171 GB, free: 6.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.5579, allocations: 221.7 kB / 0.6173 GB, free: 5.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5579, allocations: 0 / 0.6173 GB, free: 5.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005979/0.5585, allocations: 286.1 kB / 0.6176 GB, free: 5.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5585, allocations: 4 kB / 0.6176 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5586, allocations: 4.75 kB / 0.6176 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5586, allocations: 4 kB / 0.6176 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.56, allocations: 215.7 kB / 0.6178 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.5625, allocations: 1.656 MB / 0.6194 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.5629, allocations: 43.66 kB / 0.6195 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.5629, allocations: 10 kB / 0.6195 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002819/0.5632, allocations: 200.1 kB / 0.6197 GB, free: 3.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002082/0.5634, allocations: 155.7 kB / 0.6198 GB, free: 3.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003433/0.5638, allocations: 206.4 kB / 0.62 GB, free: 2.898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.5638, allocations: 0.5469 kB / 0.62 GB, free: 2.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000479/0.5643, allocations: 266.6 kB / 0.6203 GB, free: 2.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5643, allocations: 4 kB / 0.6203 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.5643, allocations: 8.25 kB / 0.6203 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/0.5643, allocations: 4 kB / 0.6203 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.5646, allocations: 43.91 kB / 0.6203 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5646, allocations: 5.484 kB / 0.6203 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.5649, allocations: 27.88 kB / 0.6204 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.5649, allocations: 8 kB / 0.6204 GB, free: 2.535 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.0001414/0.5651, allocations: 201 kB / 0.6206 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.5652, allocations: 47.53 kB / 0.6206 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005171/0.5657, allocations: 221 kB / 0.6208 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5657, allocations: 0 / 0.6208 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.5657, allocations: 0 / 0.6208 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5657, allocations: 480 / 0.6208 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5668, allocations: 0.735 MB / 0.6215 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5668, allocations: 5 kB / 0.6215 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.568, allocations: 176.1 kB / 0.6217 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.568, allocations: 8 kB / 0.6217 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.568, allocations: 3.938 kB / 0.6217 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.5702, allocations: 1.627 MB / 0.6233 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5702, allocations: 4.531 kB / 0.6233 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.5708, allocations: 352.1 kB / 0.6236 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.571, allocations: 160.5 kB / 0.6238 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.571, allocations: 4 kB / 0.6238 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.5714, allocations: 25.59 kB / 0.6238 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.5715, allocations: 11.92 kB / 0.6238 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.5716, allocations: 15.98 kB / 0.6239 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004303/0.572, allocations: 387 kB / 0.6242 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.572, allocations: 0 / 0.6242 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007092/0.5727, allocations: 191.8 kB / 0.6244 GB, free: 14.12 MB / 0.4981 GB 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.0003711/0.5731, allocations: 148.6 kB / 0.6245 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.5751, allocations: 459.3 kB / 0.625 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5751, allocations: 4 kB / 0.625 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.5774, allocations: 392.6 kB / 0.6254 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5786, allocations: 219.6 kB / 0.6256 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.5804, allocations: 0.8081 MB / 0.6264 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.5809, allocations: 0.8152 MB / 0.6272 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003944/0.5813, allocations: 93.78 kB / 0.6273 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.5813, allocations: 31.44 kB / 0.6273 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.5814, allocations: 0 / 0.6273 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.01739/0.5987, allocations: 8.602 MB / 0.6357 GB, free: 2.672 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)