Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.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.0008248/0.0008248, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 13.93 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.0008421/0.0008421, allocations: 212.1 kB / 23 MB, free: 2.973 MB / 13.93 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.053/1.053, allocations: 230.6 MB / 256.8 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 179] 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.03879/0.03879, allocations: 12.19 MB / 325.4 MB, free: 6.043 MB / 250.7 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.0005228/0.0005228, allocations: 31.94 kB / 384.8 MB, free: 10.47 MB / 314.7 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 1.768/1.768, allocations: 353.9 MB / 0.7795 GB, free: 4.488 MB / 0.5105 GB " [Timeout remaining time 178] 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.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log") [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.001494/0.001494, allocations: 124.9 kB / 1.061 GB, free: 24.36 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 134.9 MB / 1.193 GB, free: 6.879 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Log): time 0.001397/0.2729, allocations: 0.6491 MB / 1.194 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007193/0.2736, allocations: 0.8475 MB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.2737, allocations: 4 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.2737, allocations: 0 / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.2737, allocations: 7.938 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.2739, allocations: 7.984 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.274, allocations: 27.92 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.2741, allocations: 3.984 kB / 1.194 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.2742, allocations: 11.94 kB / 1.194 GB, free: 5.309 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.423e-05/0.2742, allocations: 11.98 kB / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2742, allocations: 0 / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.013e-05/0.2742, allocations: 4 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.2743, allocations: 12 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.2743, allocations: 3.938 kB / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.2744, allocations: 31.83 kB / 1.195 GB, free: 5.246 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2744, allocations: 3.984 kB / 1.195 GB, free: 5.242 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2744, allocations: 0 / 1.195 GB, free: 5.242 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2744, allocations: 0 / 1.195 GB, free: 5.242 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003506/0.2747, allocations: 258.4 kB / 1.195 GB, free: 4.957 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2748, allocations: 8.031 kB / 1.195 GB, free: 4.949 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.2749, allocations: 4.891 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.054e-05/0.2749, allocations: 114.5 kB / 1.195 GB, free: 4.809 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2749, allocations: 4.375 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.275, allocations: 4.375 kB / 1.195 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.2751, allocations: 46.23 kB / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2751, allocations: 192 / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2751, allocations: 7.938 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2751, allocations: 0 / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.2752, allocations: 35.94 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.2754, allocations: 188.6 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.2755, allocations: 42.5 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.2756, allocations: 24.89 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2756, allocations: 3.938 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2756, allocations: 30.56 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2756, allocations: 0 / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002114/0.2758, allocations: 85.69 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.2759, allocations: 59.38 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.751e-05/0.2759, allocations: 105.8 kB / 1.196 GB, free: 4.098 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.2759, allocations: 29.64 kB / 1.196 GB, free: 4.062 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.276, allocations: 84.12 kB / 1.196 GB, free: 3.977 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.276, allocations: 7.891 kB / 1.196 GB, free: 3.969 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.276, allocations: 17.72 kB / 1.196 GB, free: 3.945 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.2761, allocations: 310.8 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.2761, allocations: 19.98 kB / 1.196 GB, free: 3.613 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.2761, allocations: 19.97 kB / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.299e-05/0.2762, allocations: 36.83 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2762, allocations: 0 / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.873e-05/0.2763, allocations: 69.53 kB / 1.196 GB, free: 3.48 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2763, allocations: 8 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2763, allocations: 0 / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2763, allocations: 4.094 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.2764, allocations: 11.98 kB / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2764, allocations: 0 / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.2764, allocations: 8 kB / 1.196 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.2764, allocations: 0 / 1.196 GB, free: 3.449 MB / 0.823 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 (2): * Single equations (assignments): 2 * 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 4.847e-05/0.2765, allocations: 105.8 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.2765, allocations: 11.92 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.2766, allocations: 68.97 kB / 1.196 GB, free: 3.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2766, allocations: 4.031 kB / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2766, allocations: 0 / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2766, allocations: 0 / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.253e-05/0.2767, allocations: 109.3 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2767, allocations: 3.938 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.2767, allocations: 4 kB / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2768, allocations: 3.938 kB / 1.196 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2768, allocations: 4 kB / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.2768, allocations: 0 / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2768, allocations: 11.97 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.2769, allocations: 159.5 kB / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.2769, allocations: 7.922 kB / 1.197 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.2769, allocations: 0 / 1.197 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.2769, allocations: 4 kB / 1.197 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.277, allocations: 11.98 kB / 1.197 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.277, allocations: 0 / 1.197 GB, free: 2.887 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.525e-05/0.277, allocations: 83.22 kB / 1.197 GB, free: 2.805 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.277, allocations: 0 / 1.197 GB, free: 2.805 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001362/0.2771, allocations: 8.031 kB / 1.197 GB, free: 2.797 MB / 0.823 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 (2): * Single equations (assignments): 2 * 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 9.886e-05/0.2772, allocations: 95.19 kB / 1.197 GB, free: 2.691 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.2774, allocations: 35.95 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2774, allocations: 3.938 kB / 1.197 GB, free: 2.652 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.2774, allocations: 19.98 kB / 1.197 GB, free: 2.633 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2776, allocations: 128 / 1.197 GB, free: 2.633 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.2779, allocations: 143.2 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/0.2779, allocations: 63.34 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.2779, allocations: 7.438 kB / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.2779, allocations: 0 / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of Templates: time 0.00141/0.2793, allocations: 0.5537 MB / 1.198 GB, free: 1.82 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.669894210062921] Failed to read output from testmodel.py, exit status != 0: 0.285316183231771 0.29327432800000003 0.017237486 Calling exit ...