Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 216.3 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06454/0.06454, allocations: 12.19 MB / 324.6 MB, free: 7.293 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007429/0.0007429, allocations: 28.19 kB / 384.1 MB, free: 46.62 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.645/2.645, allocations: 353.8 MB / 0.7787 GB, free: 1.016 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003665/0.003665, allocations: 120.3 kB / 1.061 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2612, allocations: 134.9 MB / 1.192 GB, free: 6.215 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001716/0.2629, allocations: 0.5802 MB / 1.193 GB, free: 5.637 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 3.658e-05/0.2629, allocations: 3.938 kB / 1.193 GB, free: 5.633 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.263, allocations: 0 / 1.193 GB, free: 5.633 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.263, allocations: 0 / 1.193 GB, free: 5.633 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.612e-05/0.263, allocations: 0 / 1.193 GB, free: 5.633 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 2.548e-05/0.263, allocations: 4 kB / 1.193 GB, free: 5.629 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.2631, allocations: 7.938 kB / 1.193 GB, free: 5.621 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.2632, allocations: 4 kB / 1.193 GB, free: 5.617 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 1.138e-05/0.2632, allocations: 0 / 1.193 GB, free: 5.617 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 1.827e-05/0.2632, allocations: 3.984 kB / 1.193 GB, free: 5.613 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2632, allocations: 0 / 1.193 GB, free: 5.613 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-06/0.2632, allocations: 4 kB / 1.193 GB, free: 5.609 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.2632, allocations: 0 / 1.193 GB, free: 5.609 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.2632, allocations: 3.984 kB / 1.193 GB, free: 5.605 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 5.502e-05/0.2633, allocations: 3.938 kB / 1.193 GB, free: 5.602 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2633, allocations: 0 / 1.193 GB, free: 5.602 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2633, allocations: 4 kB / 1.193 GB, free: 5.598 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2633, allocations: 0 / 1.193 GB, free: 5.598 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002736/0.2636, allocations: 242.4 kB / 1.193 GB, free: 5.328 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2636, allocations: 15.98 kB / 1.193 GB, free: 5.312 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.2636, allocations: 0.9375 kB / 1.193 GB, free: 5.312 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.2637, allocations: 102.5 kB / 1.193 GB, free: 5.188 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2637, allocations: 4.312 kB / 1.193 GB, free: 5.184 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.2637, allocations: 384 / 1.193 GB, free: 5.184 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.2638, allocations: 34.27 kB / 1.193 GB, free: 5.145 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2638, allocations: 192 / 1.193 GB, free: 5.145 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2638, allocations: 3.938 kB / 1.193 GB, free: 5.141 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2638, allocations: 0 / 1.193 GB, free: 5.141 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.198e-05/0.2639, allocations: 0 / 1.193 GB, free: 5.141 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.2642, allocations: 350.6 kB / 1.194 GB, free: 4.754 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.2643, allocations: 185 kB / 1.194 GB, free: 4.562 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.2643, allocations: 80.58 kB / 1.194 GB, free: 4.48 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.2643, allocations: 75.28 kB / 1.194 GB, free: 4.406 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.2644, allocations: 105.8 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=0): time 2.746e-06/0.2644, allocations: 3.984 kB / 1.194 GB, free: 4.289 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0): time 6.776e-05/0.2645, allocations: 33.64 kB / 1.194 GB, free: 4.25 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.2645, allocations: 138.7 kB / 1.194 GB, free: 4.102 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.2646, allocations: 93.86 kB / 1.194 GB, free: 4 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2646, allocations: 25.7 kB / 1.194 GB, free: 3.969 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.2647, allocations: 84.14 kB / 1.194 GB, free: 3.883 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.2647, allocations: 0 / 1.194 GB, free: 3.883 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.2647, allocations: 9.719 kB / 1.194 GB, free: 3.867 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2648, allocations: 314.8 kB / 1.195 GB, free: 3.551 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-06/0.2648, allocations: 4 kB / 1.195 GB, free: 3.547 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-06/0.2648, allocations: 4.125 kB / 1.195 GB, free: 3.543 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.2649, allocations: 75.28 kB / 1.195 GB, free: 3.469 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-05/0.2649, allocations: 79.28 kB / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.564e-05/0.2649, allocations: 33.62 kB / 1.195 GB, free: 3.352 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.265, allocations: 79.28 kB / 1.195 GB, free: 3.273 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.265, allocations: 87.16 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.289e-05/0.2651, allocations: 154.6 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.172e-05/0.2651, allocations: 85 kB / 1.195 GB, free: 2.953 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.053e-05/0.2652, allocations: 150.6 kB / 1.195 GB, free: 2.805 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.2653, allocations: 79.28 kB / 1.195 GB, free: 2.727 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2653, allocations: 79.22 kB / 1.196 GB, free: 2.648 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.2654, allocations: 264.3 kB / 1.196 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.2655, allocations: 113 kB / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.2655, allocations: 108.1 kB / 1.196 GB, free: 2.148 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-05/0.2656, allocations: 176.3 kB / 1.196 GB, free: 1.969 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-05/0.2657, allocations: 180.2 kB / 1.196 GB, free: 1.785 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.318e-05/0.2658, allocations: 184.2 kB / 1.197 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.266, allocations: 372.2 kB / 1.197 GB, free: 1.184 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-05/0.2661, allocations: 108.9 kB / 1.197 GB, free: 1.07 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.2661, allocations: 113 kB / 1.197 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.627e-05/0.2662, allocations: 180.2 kB / 1.197 GB, free: 0.7695 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.2663, allocations: 176.3 kB / 1.197 GB, free: 0.5898 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.282e-05/0.2663, allocations: 176.6 kB / 1.198 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.937e-05/0.2664, allocations: 192.2 kB / 1.198 GB, free: 220 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2666, allocations: 315.9 kB / 1.198 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.2666, allocations: 105 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.2667, allocations: 176.3 kB / 1.198 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.2668, allocations: 112.9 kB / 1.198 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.2669, allocations: 180.3 kB / 1.199 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.2669, allocations: 104.9 kB / 1.199 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.267, allocations: 79.28 kB / 1.199 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.267, allocations: 0 / 1.199 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002526/0.2672, allocations: 0 / 1.199 GB, free: 15.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.2674, allocations: 170.5 kB / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 3.693e-05/0.2674, allocations: 4.094 kB / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2674, allocations: 0 / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2674, allocations: 4 kB / 1.199 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.2678, allocations: 461.2 kB / 1.199 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.268, allocations: 164.1 kB / 1.2 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2683, allocations: 0.6767 MB / 1.2 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.787e-06/0.2683, allocations: 3.938 kB / 1.2 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.2683, allocations: 7.438 kB / 1.2 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of SimCode: time 4.3e-07/0.2683, allocations: 0 / 1.2 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.002205/0.2705, allocations: 173 kB / 1.2 GB, free: 13.39 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.050185106694698] Failed to read output from testmodel.py, exit status != 0: 0.27889442071318626 0.292975648 0.026723654000000003 Calling exit ...