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.0007705/0.0007705, allocations: 79.69 kB / 20.03 MB, free: 4.484 MB / 18.57 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.0007673/0.0007673, allocations: 169.3 kB / 23.33 MB, free: 1.18 MB / 18.57 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 0.8742/0.8742, allocations: 177.1 MB / 203.6 MB, free: 5.707 MB / 186.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.03336/0.03336, allocations: 9.124 MB / 269.2 MB, free: 4.441 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0004261/0.0004261, allocations: 19.95 kB / 328.7 MB, free: 5.781 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.52/1.52, allocations: 275 MB / 0.6476 GB, free: 2.809 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 4.641 kB / 0.9294 GB, free: 20.98 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.651e-05, allocations: 3.75 kB / 0.9294 GB, free: 20.98 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001227/0.001254, allocations: 0.5648 MB / 0.93 GB, free: 20.64 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.000904/0.002158, allocations: 1.155 MB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.002193, allocations: 0 / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.002212, allocations: 3.938 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.002267, allocations: 10.14 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.002607, allocations: 120.1 kB / 0.9313 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.002719, allocations: 85.08 kB / 0.9313 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.002791, allocations: 3.109 kB / 0.9313 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.00287, allocations: 51.69 kB / 0.9314 GB, free: 19.67 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.002947, allocations: 27.14 kB / 0.9314 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.002967, allocations: 11.38 kB / 0.9314 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 4.894e-05/0.003016, allocations: 20.06 kB / 0.9314 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.003032, allocations: 6.359 kB / 0.9314 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.003074, allocations: 30.64 kB / 0.9315 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003214, allocations: 94.25 kB / 0.9316 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003216, allocations: 0 / 0.9316 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003217, allocations: 0 / 0.9316 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003221, allocations: 0 / 0.9316 GB, free: 19.61 MB / 0.7293 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.0002798/0.0035, allocations: 296.6 kB / 0.9319 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.003533, allocations: 12.08 kB / 0.9319 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.003568, allocations: 8.844 kB / 0.9319 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.759e-05/0.003615, allocations: 117.3 kB / 0.932 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.003624, allocations: 7.156 kB / 0.932 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.003639, allocations: 6.312 kB / 0.932 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.716e-05/0.003706, allocations: 64.55 kB / 0.9321 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.003712, allocations: 192 / 0.9321 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.003719, allocations: 1.172 kB / 0.9321 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.003723, allocations: 1.562 kB / 0.9321 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.00374, allocations: 11.08 kB / 0.9321 GB, free: 19.08 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.003961, allocations: 223.1 kB / 0.9323 GB, free: 18.87 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 3.006e-05/0.003991, allocations: 30.38 kB / 0.9323 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.194e-05/0.004003, allocations: 8.031 kB / 0.9323 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-06/0.004008, allocations: 0 / 0.9323 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.583e-05/0.004094, allocations: 84.66 kB / 0.9324 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004095, allocations: 0 / 0.9324 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.000131/0.004226, allocations: 72.72 kB / 0.9325 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.5e-05/0.004241, allocations: 57.66 kB / 0.9325 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.15e-05/0.004282, allocations: 108.3 kB / 0.9326 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004294, allocations: 29.27 kB / 0.9327 GB, free: 18.49 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.004316, allocations: 87 kB / 0.9327 GB, free: 18.4 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.004324, allocations: 10.16 kB / 0.9327 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.004363, allocations: 33.47 kB / 0.9328 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.461e-05/0.004387, allocations: 313.4 kB / 0.9331 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.004441, allocations: 60.58 kB / 0.9331 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.004496, allocations: 77.61 kB / 0.9332 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/0.004556, allocations: 83.83 kB / 0.9333 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004558, allocations: 0.8438 kB / 0.9333 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001536/0.004711, allocations: 176.8 kB / 0.9335 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.004737, allocations: 38.41 kB / 0.9335 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.004742, allocations: 9.859 kB / 0.9335 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.004752, allocations: 1.375 kB / 0.9335 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.307e-05/0.004765, allocations: 1.906 kB / 0.9335 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.004771, allocations: 3.984 kB / 0.9335 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.004896, allocations: 25.05 kB / 0.9335 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.004911, allocations: 5.625 kB / 0.9335 GB, free: 17.7 MB / 0.7293 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 4.045e-05/0.004952, allocations: 117.2 kB / 0.9337 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.004958, allocations: 5.297 kB / 0.9337 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.521e-05/0.004974, allocations: 14.19 kB / 0.9337 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.004976, allocations: 0 / 0.9337 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004977, allocations: 4.641 kB / 0.9337 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004983, allocations: 2.516 kB / 0.9337 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.004991, allocations: 1.5 kB / 0.9337 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-06/0.004999, allocations: 6.188 kB / 0.9337 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.005022, allocations: 2.859 kB / 0.9337 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.139e-05/0.005074, allocations: 127 kB / 0.9338 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.413e-05/0.005138, allocations: 235 kB / 0.934 GB, free: 17.23 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.784e-05/0.005156, allocations: 10.08 kB / 0.934 GB, free: 17.22 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.055e-05/0.005176, allocations: 85.34 kB / 0.9341 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of Backend: time 3.51e-07/0.005177, allocations: 4 kB / 0.9341 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.005528, allocations: 207.7 kB / 0.9343 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002818/0.00581, allocations: 0.5652 MB / 0.9349 GB, free: 16.37 MB / 0.7293 GB Notification: Performance of Templates: time 0.002694/0.008503, allocations: 1.204 MB / 0.9361 GB, free: 16.24 MB / 0.7293 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: 4.807676927186549] Failed to read output from testmodel.py, exit status != 0: 0.012709476985037327 0.020769586 0.015904249000000002 Calling exit ...