Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.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.001369/0.001369, allocations: 113 kB / 18.94 MB, free: 2.934 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.00151/0.00151, allocations: 211 kB / 22.25 MB, free: 5.086 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 8.039 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.0638/0.0638, 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.0007877/0.0007877, allocations: 34.12 kB / 384.1 MB, free: 46.65 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.553/2.553, allocations: 353.8 MB / 0.7787 GB, free: 1.078 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert") [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.003621/0.003621, allocations: 120.8 kB / 1.061 GB, free: 13.1 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2891, allocations: 134.9 MB / 1.192 GB, free: 6.273 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002719/0.2918, allocations: 0.5866 MB / 1.193 GB, free: 5.688 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.294, allocations: 1.165 MB / 1.194 GB, free: 4.512 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.294, allocations: 4 kB / 1.194 GB, free: 4.508 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.294, allocations: 0 / 1.194 GB, free: 4.508 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.2941, allocations: 3.938 kB / 1.194 GB, free: 4.504 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.2948, allocations: 127 kB / 1.194 GB, free: 4.383 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.295, allocations: 87.88 kB / 1.194 GB, free: 4.297 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.2951, allocations: 4 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2952, allocations: 39.91 kB / 1.194 GB, free: 4.254 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2953, allocations: 27.95 kB / 1.194 GB, free: 4.227 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.2954, allocations: 8 kB / 1.194 GB, free: 4.219 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.2955, allocations: 27.92 kB / 1.194 GB, free: 4.191 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.2956, allocations: 3.938 kB / 1.194 GB, free: 4.188 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/0.2956, allocations: 35.91 kB / 1.194 GB, free: 4.152 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.2958, allocations: 71.8 kB / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2958, allocations: 8 kB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2958, allocations: 0 / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2958, allocations: 3.938 kB / 1.194 GB, free: 4.07 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005777/0.2964, allocations: 300 kB / 1.195 GB, free: 3.738 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.2965, allocations: 11.98 kB / 1.195 GB, free: 3.727 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.2965, allocations: 4.938 kB / 1.195 GB, free: 3.723 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2967, allocations: 106.5 kB / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2967, allocations: 8.359 kB / 1.195 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.2967, allocations: 8.312 kB / 1.195 GB, free: 3.578 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.2968, allocations: 38.27 kB / 1.195 GB, free: 3.535 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2968, allocations: 4.125 kB / 1.195 GB, free: 3.531 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2968, allocations: 7.922 kB / 1.195 GB, free: 3.523 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2968, allocations: 0 / 1.195 GB, free: 3.523 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.2969, allocations: 8 kB / 1.195 GB, free: 3.516 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.2974, allocations: 255.9 kB / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.2975, allocations: 22.52 kB / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.2975, allocations: 12.84 kB / 1.195 GB, free: 3.176 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-06/0.2975, allocations: 0 / 1.195 GB, free: 3.176 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2977, allocations: 63.39 kB / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.2977, allocations: 0 / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0002157/0.2979, allocations: 61.69 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.298, allocations: 55.39 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2981, allocations: 105.8 kB / 1.195 GB, free: 2.855 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.2981, allocations: 37.7 kB / 1.195 GB, free: 2.812 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.2982, allocations: 92.02 kB / 1.196 GB, free: 2.719 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.2982, allocations: 4 kB / 1.196 GB, free: 2.715 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.2983, allocations: 25.7 kB / 1.196 GB, free: 2.684 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2985, allocations: 318.8 kB / 1.196 GB, free: 2.363 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2986, allocations: 27.98 kB / 1.196 GB, free: 2.336 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.2987, allocations: 50.55 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.2988, allocations: 76.28 kB / 1.196 GB, free: 2.188 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2988, allocations: 7.875 kB / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003567/0.2992, allocations: 151.2 kB / 1.196 GB, free: 2.02 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.2992, allocations: 33.7 kB / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2992, allocations: 320 / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2993, allocations: 0 / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.2993, allocations: 8 kB / 1.196 GB, free: 1.973 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2993, allocations: 12.03 kB / 1.196 GB, free: 1.961 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.2996, allocations: 31.89 kB / 1.196 GB, free: 1.93 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.2996, allocations: 4 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001237/0.2997, allocations: 121.8 kB / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.2997, allocations: 4 kB / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.2997, allocations: 4 kB / 1.196 GB, free: 1.781 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2998, allocations: 0 / 1.196 GB, free: 1.781 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2998, allocations: 4 kB / 1.196 GB, free: 1.777 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2998, allocations: 3.984 kB / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.3, allocations: 136.6 kB / 1.197 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3, allocations: 0 / 1.197 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-06/0.3, allocations: 0 / 1.197 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3, allocations: 0 / 1.197 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3, allocations: 7.938 kB / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3, allocations: 0 / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3, allocations: 3.938 kB / 1.197 GB, free: 1.586 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3001, allocations: 85.05 kB / 1.197 GB, free: 1.484 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.3002, allocations: 4 kB / 1.197 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3002, allocations: 0 / 1.197 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.3002, allocations: 288 / 1.197 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.3002, allocations: 7.984 kB / 1.197 GB, free: 1.473 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.3002, allocations: 4 kB / 1.197 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.3003, allocations: 79.28 kB / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3003, allocations: 0 / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0003866/0.3007, allocations: 20 kB / 1.197 GB, free: 1.371 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001648/0.3008, allocations: 103.2 kB / 1.197 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3011, allocations: 111.3 kB / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3011, allocations: 0 / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.3012, allocations: 8 kB / 1.197 GB, free: 1.133 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3015, allocations: 15.92 kB / 1.197 GB, free: 1.117 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.3018, allocations: 122.3 kB / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.3023, allocations: 0.6768 MB / 1.198 GB, free: 276 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.3024, allocations: 4 kB / 1.198 GB, free: 272 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3024, allocations: 7.438 kB / 1.198 GB, free: 264 kB / 0.8263 GB Notification: Performance of SimCode: time 3.21e-07/0.3024, allocations: 0 / 1.198 GB, free: 264 kB / 0.8263 GB Notification: Performance of Templates: time 0.005337/0.3077, allocations: 1.082 MB / 1.199 GB, free: 15.2 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.24118110537529] Failed to read output from testmodel.py, exit status != 0: 0.31788570806384087 0.341638712 0.041065925 Calling exit ...