Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.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.001405/0.001405, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001817/0.001817, allocations: 210.9 kB / 22.24 MB, free: 5.262 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.773 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.06727/0.06727, allocations: 12.19 MB / 324.6 MB, free: 7.141 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.0008128/0.0008128, allocations: 32.33 kB / 384.1 MB, free: 47.47 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.663/2.663, allocations: 353.9 MB / 0.7787 GB, free: 1.574 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.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.003497/0.003497, allocations: 123.8 kB / 1.06 GB, free: 12.58 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.283, allocations: 134.9 MB / 1.192 GB, free: 5.781 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001751/0.2848, allocations: 0.54 MB / 1.193 GB, free: 5.242 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 4.254e-05/0.2848, allocations: 3.938 kB / 1.193 GB, free: 5.238 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.2849, allocations: 0 / 1.193 GB, free: 5.238 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.2849, allocations: 0 / 1.193 GB, free: 5.238 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.463e-05/0.2849, allocations: 0 / 1.193 GB, free: 5.238 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 2.868e-05/0.2849, allocations: 0 / 1.193 GB, free: 5.238 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.285, allocations: 7.984 kB / 1.193 GB, free: 5.23 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 6.292e-05/0.2851, allocations: 4 kB / 1.193 GB, free: 5.227 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 1.385e-05/0.2851, allocations: 0 / 1.193 GB, free: 5.227 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 2.007e-05/0.2851, allocations: 3.938 kB / 1.193 GB, free: 5.223 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2851, allocations: 0 / 1.193 GB, free: 5.223 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/0.2851, allocations: 4 kB / 1.193 GB, free: 5.219 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2851, allocations: 0 / 1.193 GB, free: 5.219 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.2851, allocations: 0 / 1.193 GB, free: 5.219 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 6.349e-05/0.2852, allocations: 4 kB / 1.193 GB, free: 5.215 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2852, allocations: 3.984 kB / 1.193 GB, free: 5.211 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2852, allocations: 0 / 1.193 GB, free: 5.211 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2852, allocations: 0 / 1.193 GB, free: 5.211 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.0003713/0.2856, allocations: 242.4 kB / 1.193 GB, free: 4.941 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2856, allocations: 11.98 kB / 1.193 GB, free: 4.93 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.2857, allocations: 0.9375 kB / 1.193 GB, free: 4.93 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2858, allocations: 106.5 kB / 1.193 GB, free: 4.801 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-06/0.2858, allocations: 4.375 kB / 1.193 GB, free: 4.797 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2858, allocations: 384 / 1.193 GB, free: 4.797 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.501e-05/0.2859, allocations: 42.12 kB / 1.193 GB, free: 4.75 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2859, allocations: 192 / 1.193 GB, free: 4.75 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2859, allocations: 3.938 kB / 1.193 GB, free: 4.746 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2859, allocations: 0 / 1.193 GB, free: 4.746 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.415e-05/0.2859, allocations: 0 / 1.193 GB, free: 4.746 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.2862, allocations: 331.1 kB / 1.193 GB, free: 4.391 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.2863, allocations: 169.2 kB / 1.194 GB, free: 4.215 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.2864, allocations: 80.58 kB / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.2864, allocations: 87.22 kB / 1.194 GB, free: 4.047 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.2865, allocations: 113.8 kB / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2865, allocations: 0 / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0): time 6.822e-05/0.2866, allocations: 29.64 kB / 1.194 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.2866, allocations: 130.7 kB / 1.194 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.2867, allocations: 93.86 kB / 1.194 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2867, allocations: 25.7 kB / 1.194 GB, free: 3.617 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.2868, allocations: 80.14 kB / 1.194 GB, free: 3.535 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-06/0.2868, allocations: 0 / 1.194 GB, free: 3.535 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.2868, allocations: 13.72 kB / 1.194 GB, free: 3.516 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2869, allocations: 323 kB / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.2869, allocations: 0 / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.2869, allocations: 0 / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.287, allocations: 75.28 kB / 1.195 GB, free: 3.117 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/0.287, allocations: 75.28 kB / 1.195 GB, free: 3.043 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.789e-05/0.2871, allocations: 37.58 kB / 1.195 GB, free: 3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2871, allocations: 79.28 kB / 1.195 GB, free: 2.922 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.2871, allocations: 75.28 kB / 1.195 GB, free: 2.848 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.337e-05/0.2872, allocations: 156.5 kB / 1.195 GB, free: 2.695 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.2872, allocations: 79.22 kB / 1.195 GB, free: 2.617 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.353e-05/0.2873, allocations: 158.5 kB / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.2874, allocations: 91.2 kB / 1.195 GB, free: 2.371 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.2874, allocations: 75.28 kB / 1.195 GB, free: 2.297 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.0001253/0.2875, allocations: 256.4 kB / 1.196 GB, free: 2.035 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.2876, allocations: 112.9 kB / 1.196 GB, free: 1.918 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.2877, allocations: 104 kB / 1.196 GB, free: 1.812 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.782e-05/0.2877, allocations: 180.3 kB / 1.196 GB, free: 1.629 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-05/0.2878, allocations: 188.2 kB / 1.196 GB, free: 1.438 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.267e-05/0.2879, allocations: 180.2 kB / 1.196 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2881, allocations: 356.8 kB / 1.197 GB, free: 0.8672 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.524e-05/0.2882, allocations: 105 kB / 1.197 GB, free: 0.7578 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.2882, allocations: 113 kB / 1.197 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-05/0.2883, allocations: 188.1 kB / 1.197 GB, free: 460 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.09e-05/0.2884, allocations: 176.3 kB / 1.197 GB, free: 276 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-05/0.2885, allocations: 184.5 kB / 1.197 GB, free: 84 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.404e-05/0.2886, allocations: 180.3 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.2887, allocations: 311.8 kB / 1.198 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.2888, allocations: 104.9 kB / 1.198 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.2889, allocations: 184.2 kB / 1.198 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.289, allocations: 105 kB / 1.198 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.2891, allocations: 180.3 kB / 1.198 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.2891, allocations: 112.9 kB / 1.199 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.2892, allocations: 75.28 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/0.2892, allocations: 0 / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002459/0.2894, allocations: 3.953 kB / 1.199 GB, free: 14.79 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.0001318/0.2895, allocations: 170.5 kB / 1.199 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.204e-05/0.2896, allocations: 0 / 1.199 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2896, allocations: 0 / 1.199 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.2896, allocations: 0 / 1.199 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.29, allocations: 463.7 kB / 1.199 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.2902, allocations: 164.1 kB / 1.199 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.446e-05/0.2903, allocations: 55.36 kB / 1.199 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.653e-06/0.2903, allocations: 0 / 1.199 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.2903, allocations: 7.438 kB / 1.199 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.2903, allocations: 0 / 1.199 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.002082/0.2924, allocations: 140.8 kB / 1.2 GB, free: 13.74 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.583890244364738] Failed to read output from testmodel.py, exit status != 0: 0.30059048160910606 0.31493237099999993 0.026705851000000003 Calling exit ...