Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.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.001098/0.001098, 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.0008617/0.0008617, 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.866/0.866, allocations: 177.1 MB / 203.7 MB, free: 5.723 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.03349/0.03349, allocations: 9.12 MB / 269.2 MB, free: 4.457 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.0003791/0.0003791, allocations: 23.94 kB / 328.7 MB, free: 20.61 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.484/1.484, 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.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.9295 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.526e-05, allocations: 5.906 kB / 0.9295 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001017/0.001032, allocations: 0.6358 MB / 0.9301 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.00203, allocations: 1.227 MB / 0.9313 GB, free: 6.266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.002071, allocations: 3.938 kB / 0.9313 GB, free: 6.262 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.002094, allocations: 7.938 kB / 0.9313 GB, free: 6.254 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.00216, allocations: 16.92 kB / 0.9313 GB, free: 6.238 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.00258, allocations: 214.2 kB / 0.9315 GB, free: 6.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.00273, allocations: 178.2 kB / 0.9317 GB, free: 5.867 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.002806, allocations: 4 kB / 0.9317 GB, free: 5.863 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.002902, allocations: 99.8 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.002996, allocations: 51.91 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.003025, allocations: 16 kB / 0.9319 GB, free: 5.699 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.261e-05/0.003077, allocations: 23.98 kB / 0.9319 GB, free: 5.676 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.003098, allocations: 15.92 kB / 0.9319 GB, free: 5.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.003151, allocations: 49.05 kB / 0.9319 GB, free: 5.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.00332, allocations: 183.6 kB / 0.9321 GB, free: 5.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003321, allocations: 0 / 0.9321 GB, free: 5.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003322, allocations: 1.312 kB / 0.9321 GB, free: 5.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.003325, allocations: 0 / 0.9321 GB, free: 5.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003743/0.003699, allocations: 357.5 kB / 0.9325 GB, free: 5.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.003732, allocations: 12.61 kB / 0.9325 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.003772, allocations: 8.938 kB / 0.9325 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.243e-05/0.003844, allocations: 123.3 kB / 0.9326 GB, free: 4.875 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.003855, allocations: 4.375 kB / 0.9326 GB, free: 4.871 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.003875, allocations: 12.31 kB / 0.9326 GB, free: 4.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.003966, allocations: 54.19 kB / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.003973, allocations: 0.6875 kB / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003981, allocations: 384 / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.003985, allocations: 1.281 kB / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.004016, allocations: 19.92 kB / 0.9327 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.004314, allocations: 265.2 kB / 0.9329 GB, free: 4.492 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.004371, allocations: 39.22 kB / 0.933 GB, free: 4.445 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.004391, allocations: 12.86 kB / 0.933 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.0044, allocations: 1.281 kB / 0.933 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.784e-05/0.004498, allocations: 91.33 kB / 0.9331 GB, free: 4.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004499, allocations: 0 / 0.9331 GB, free: 4.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001822/0.004681, allocations: 107.1 kB / 0.9332 GB, free: 4.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.004704, allocations: 59.39 kB / 0.9332 GB, free: 4.148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.004765, allocations: 113.8 kB / 0.9333 GB, free: 4.027 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.004784, allocations: 29.7 kB / 0.9334 GB, free: 3.992 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.004827, allocations: 88.8 kB / 0.9335 GB, free: 3.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.004842, allocations: 27.81 kB / 0.9335 GB, free: 3.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.004901, allocations: 50.22 kB / 0.9335 GB, free: 3.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.004971, allocations: 316.3 kB / 0.9338 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.005079, allocations: 119.4 kB / 0.9339 GB, free: 3.375 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.005194, allocations: 155.7 kB / 0.9341 GB, free: 3.195 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.005313, allocations: 165.7 kB / 0.9342 GB, free: 3.008 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005315, allocations: 0 / 0.9342 GB, free: 3.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002799/0.005595, allocations: 333.3 kB / 0.9346 GB, free: 2.652 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.00563, allocations: 69.2 kB / 0.9346 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005634, allocations: 0 / 0.9346 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005645, allocations: 4 kB / 0.9346 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.575e-05/0.005661, allocations: 7.984 kB / 0.9346 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.005668, allocations: 4 kB / 0.9346 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.005847, allocations: 57.36 kB / 0.9347 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.005865, allocations: 10.53 kB / 0.9347 GB, free: 2.496 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.445e-05/0.00593, allocations: 121.8 kB / 0.9348 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.005937, allocations: 7.938 kB / 0.9348 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.005956, allocations: 12.38 kB / 0.9348 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.00596, allocations: 3.984 kB / 0.9349 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.00596, allocations: 0 / 0.9349 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.005968, allocations: 8.859 kB / 0.9349 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005979, allocations: 3.984 kB / 0.9349 GB, free: 2.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.005989, allocations: 5.656 kB / 0.9349 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.00602, allocations: 4 kB / 0.9349 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.944e-05/0.00611, allocations: 156.9 kB / 0.935 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001091/0.006219, allocations: 262.6 kB / 0.9353 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.479e-05/0.006244, allocations: 15.98 kB / 0.9353 GB, free: 1.871 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.006272, allocations: 88.25 kB / 0.9354 GB, free: 1.785 MB / 0.698 GB Notification: Performance of Backend: time 1.4e-07/0.006272, allocations: 0 / 0.9354 GB, free: 1.785 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006313/0.006903, allocations: 345.9 kB / 0.9357 GB, free: 1.41 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003774/0.007281, allocations: 0.5966 MB / 0.9363 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of Templates: time 0.002858/0.01014, allocations: 2.114 MB / 0.9384 GB, free: 14.72 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.577068608254194] Failed to read output from testmodel.py, exit status != 0: 0.01454493310302496 0.022575050000000003 0.017630736 Calling exit ...