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.0007514/0.0007514, allocations: 79.69 kB / 20.03 MB, free: 4.492 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.0007585/0.0007585, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.8425/0.8425, allocations: 177.1 MB / 203.6 MB, free: 5.715 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.03416/0.03416, allocations: 9.132 MB / 269.2 MB, free: 4.445 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.0003639/0.0003639, allocations: 31.89 kB / 328.7 MB, free: 20.6 MB / 266.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.528/1.528, allocations: 275 MB / 0.6476 GB, free: 2.488 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.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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.9295 GB, free: 8.137 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.842e-05, allocations: 9.312 kB / 0.9295 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009853/0.001004, allocations: 0.5358 MB / 0.93 GB, free: 7.609 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 3.583e-05/0.00104, allocations: 5.188 kB / 0.93 GB, free: 7.605 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.001066, allocations: 0 / 0.93 GB, free: 7.605 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.001088, allocations: 3.938 kB / 0.93 GB, free: 7.602 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.54e-05/0.001114, allocations: 0 / 0.93 GB, free: 7.602 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.076e-05/0.001144, allocations: 4.562 kB / 0.93 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.001195, allocations: 1.812 kB / 0.93 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.001233, allocations: 0 / 0.93 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.001258, allocations: 0 / 0.93 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.841e-05/0.001277, allocations: 4 kB / 0.93 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.001291, allocations: 0 / 0.93 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-06/0.001294, allocations: 2.312 kB / 0.93 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.001305, allocations: 0 / 0.93 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.00132, allocations: 0 / 0.93 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.07e-05/0.00137, allocations: 7.984 kB / 0.93 GB, free: 7.586 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.001372, allocations: 0 / 0.93 GB, free: 7.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.442e-06/0.001373, allocations: 4 kB / 0.93 GB, free: 7.582 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.001376, allocations: 0 / 0.93 GB, free: 7.582 MB / 0.698 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.0002133/0.00159, allocations: 236.2 kB / 0.9303 GB, free: 7.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.001625, allocations: 15.92 kB / 0.9303 GB, free: 7.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.001647, allocations: 4.922 kB / 0.9303 GB, free: 7.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.001715, allocations: 105.8 kB / 0.9304 GB, free: 7.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.001726, allocations: 4.969 kB / 0.9304 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.001735, allocations: 4.375 kB / 0.9304 GB, free: 7.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/0.001805, allocations: 31.58 kB / 0.9304 GB, free: 7.129 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.001813, allocations: 192 / 0.9304 GB, free: 7.129 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.00182, allocations: 384 / 0.9304 GB, free: 7.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.001823, allocations: 2.031 kB / 0.9304 GB, free: 7.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.001842, allocations: 7.938 kB / 0.9304 GB, free: 7.121 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.002041, allocations: 331.2 kB / 0.9307 GB, free: 6.766 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.002101, allocations: 169.5 kB / 0.9309 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.002125, allocations: 81.05 kB / 0.931 GB, free: 6.508 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.002147, allocations: 79.31 kB / 0.9311 GB, free: 6.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.002179, allocations: 110.4 kB / 0.9312 GB, free: 6.312 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.002179, allocations: 0 / 0.9312 GB, free: 6.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.17e-05/0.002231, allocations: 34.14 kB / 0.9312 GB, free: 6.273 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.00225, allocations: 52.69 kB / 0.9312 GB, free: 6.211 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.002305, allocations: 97.86 kB / 0.9313 GB, free: 6.105 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.002312, allocations: 25.7 kB / 0.9314 GB, free: 6.074 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.002338, allocations: 89.64 kB / 0.9314 GB, free: 5.984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.002339, allocations: 0 / 0.9314 GB, free: 5.984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.002356, allocations: 13.72 kB / 0.9315 GB, free: 5.965 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.002419, allocations: 310.8 kB / 0.9318 GB, free: 5.652 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.002424, allocations: 4.656 kB / 0.9318 GB, free: 5.648 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.002426, allocations: 0 / 0.9318 GB, free: 5.648 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.943e-05/0.002446, allocations: 79.84 kB / 0.9318 GB, free: 5.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.002462, allocations: 75.28 kB / 0.9319 GB, free: 5.496 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.085e-05/0.002493, allocations: 30.42 kB / 0.9319 GB, free: 5.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.002519, allocations: 79.28 kB / 0.932 GB, free: 5.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.002537, allocations: 89.03 kB / 0.9321 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/0.002578, allocations: 158.5 kB / 0.9323 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.46e-05/0.002592, allocations: 75.28 kB / 0.9323 GB, free: 5.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.449e-05/0.002627, allocations: 158.5 kB / 0.9325 GB, free: 4.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.002666, allocations: 76.66 kB / 0.9325 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.002681, allocations: 79.22 kB / 0.9326 GB, free: 4.758 MB / 0.698 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 6.711e-05/0.002748, allocations: 264.3 kB / 0.9329 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.002782, allocations: 108.6 kB / 0.933 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.002812, allocations: 108 kB / 0.9331 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.844e-05/0.00285, allocations: 188.1 kB / 0.9333 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.002871, allocations: 101 kB / 0.9334 GB, free: 3.969 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.002897, allocations: 104.9 kB / 0.9335 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.002938, allocations: 180.3 kB / 0.9336 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-05/0.002985, allocations: 113 kB / 0.9337 GB, free: 3.559 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.003025, allocations: 180.2 kB / 0.9339 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.242e-05/0.003077, allocations: 255.9 kB / 0.9342 GB, free: 3.117 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.653e-05/0.003174, allocations: 387 kB / 0.9345 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.783e-05/0.003202, allocations: 110.8 kB / 0.9346 GB, free: 2.602 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.003223, allocations: 79.28 kB / 0.9347 GB, free: 2.523 MB / 0.698 GB Notification: Performance of Backend: time 2.41e-07/0.003223, allocations: 0 / 0.9347 GB, free: 2.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.003417, allocations: 73.03 kB / 0.9348 GB, free: 2.449 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003293/0.003746, allocations: 0.9094 MB / 0.9357 GB, free: 1.488 MB / 0.698 GB Notification: Performance of Templates: time 0.001397/0.005143, allocations: 176.9 kB / 0.9358 GB, free: 1.316 MB / 0.698 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: 4.5644763661548495] Failed to read output from testmodel.py, exit status != 0: 0.009470741264522076 0.017125245 0.014162786 Calling exit ...