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/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.06657/0.06657, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 18.57 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/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.001244/0.001244, allocations: 95.2 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001168/0.001168, allocations: 168.4 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9379/0.9379, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006198/0.006198, allocations: 0.83 MB / 276.5 MB, free: 0.7383 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.673/1.673, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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.974e-06/1.974e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.383e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001324/0.001347, allocations: 0.6571 MB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.002863, allocations: 1.244 MB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.002906, allocations: 4 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.00293, allocations: 7.938 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.003002, allocations: 19.84 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.003499, allocations: 211.4 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.003678, allocations: 167.7 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.003746, allocations: 7.984 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.003851, allocations: 91.88 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.003951, allocations: 55.91 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.003977, allocations: 16 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.377e-05/0.00404, allocations: 23.98 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.004064, allocations: 15.92 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.004111, allocations: 47.95 kB / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.004264, allocations: 135.6 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004266, allocations: 0 / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004267, allocations: 0 / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.00427, allocations: 0 / 0.6405 GB, free: 11.42 MB / 0.6043 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.0003449/0.004615, allocations: 339.8 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.004648, allocations: 11.98 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.004684, allocations: 16.92 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.004763, allocations: 113.7 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.004774, allocations: 4.375 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.004793, allocations: 8.375 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.014e-05/0.004854, allocations: 46.23 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.00486, allocations: 4.172 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-06/0.004867, allocations: 384 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004871, allocations: 4.375 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.004886, allocations: 11.92 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.005124, allocations: 180.2 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.005184, allocations: 34.62 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.215e-05/0.005196, allocations: 8.859 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-06/0.005202, allocations: 0 / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.455e-05/0.005287, allocations: 83.33 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.005288, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001164/0.005404, allocations: 77.59 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.005433, allocations: 51.41 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.005495, allocations: 126.6 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.005513, allocations: 29.7 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.005551, allocations: 96.12 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.005559, allocations: 11.91 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.005613, allocations: 49.66 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.005688, allocations: 314.8 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.005765, allocations: 103.3 kB / 0.6421 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.005841, allocations: 127.7 kB / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/0.005933, allocations: 143.5 kB / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005935, allocations: 0 / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001826/0.006118, allocations: 256.3 kB / 0.6426 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.006157, allocations: 75.3 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.006164, allocations: 3.938 kB / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.006173, allocations: 0 / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.698e-05/0.00619, allocations: 7.984 kB / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.006194, allocations: 3.938 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.00634, allocations: 47.98 kB / 0.6428 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.006358, allocations: 12.11 kB / 0.6428 GB, free: 8.789 MB / 0.6043 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 7.688e-05/0.006434, allocations: 125.8 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.006449, allocations: 7.984 kB / 0.6429 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.006472, allocations: 16.38 kB / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006474, allocations: 0 / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.006476, allocations: 0 / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006479, allocations: 0 / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.085e-05/0.00655, allocations: 77.88 kB / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006551, allocations: 0 / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.006556, allocations: 0 / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006558, allocations: 4 kB / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.006562, allocations: 0 / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.006565, allocations: 4 kB / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.006567, allocations: 3.938 kB / 0.643 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.198e-05/0.006639, allocations: 81.05 kB / 0.6431 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.006649, allocations: 11.94 kB / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.006657, allocations: 0 / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.006669, allocations: 4 kB / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.006694, allocations: 7.922 kB / 0.6431 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.0067, allocations: 8 kB / 0.6431 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.515e-05/0.006715, allocations: 12.84 kB / 0.6431 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006715, allocations: 4 kB / 0.6431 GB, free: 8.375 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001427/0.006858, allocations: 31.98 kB / 0.6432 GB, free: 8.344 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001048/0.006962, allocations: 84.36 kB / 0.6432 GB, free: 8.254 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.007149, allocations: 255 kB / 0.6435 GB, free: 7.965 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.007151, allocations: 0 / 0.6435 GB, free: 7.965 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.007182, allocations: 32.7 kB / 0.6435 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.007296, allocations: 20.23 kB / 0.6435 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.007532, allocations: 141.2 kB / 0.6437 GB, free: 7.742 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.007561, allocations: 55.36 kB / 0.6437 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.007581, allocations: 7.984 kB / 0.6437 GB, free: 7.66 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.007678, allocations: 87.28 kB / 0.6438 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of SimCode: time 7.42e-07/0.007679, allocations: 0 / 0.6438 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of Templates: time 0.003899/0.01158, allocations: 2.229 MB / 0.646 GB, free: 5.344 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.382422178052366]