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.0414/0.0414, 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.0009726/0.0009726, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001126/0.001126, allocations: 164.7 kB / 38.73 MB, free: 2.492 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 1.025/1.025, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.004361/0.004361, allocations: 0.8188 MB / 276.5 MB, free: 0.7109 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.6133 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 2.495e-06/2.495e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.64e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.004921/0.004947, allocations: 0.7003 MB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.006362, allocations: 1.252 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.006406, allocations: 4 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.006432, allocations: 3.938 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.376e-05/0.006506, allocations: 7.922 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.01008, allocations: 215.4 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.01034, allocations: 175.7 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.01043, allocations: 15.97 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.01056, allocations: 87.94 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.01069, allocations: 51.84 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.01072, allocations: 16 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.0108, allocations: 23.98 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.01082, allocations: 11.98 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.01088, allocations: 55.84 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.01106, allocations: 135.7 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.01107, allocations: 3.938 kB / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01107, allocations: 0 / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.01107, allocations: 0 / 0.6406 GB, free: 11.31 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.0003653/0.01144, allocations: 327.8 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.01147, allocations: 15.98 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.01151, allocations: 16.86 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/0.01159, allocations: 113.7 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.0116, allocations: 8.375 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.01162, allocations: 8.375 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.141e-05/0.01168, allocations: 42.23 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.01169, allocations: 4.188 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.01169, allocations: 384 / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.0117, allocations: 384 / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.01171, allocations: 15.94 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.01196, allocations: 180.3 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.01202, allocations: 22.58 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.01203, allocations: 12.94 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.01204, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.077e-05/0.01213, allocations: 87.23 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.01213, allocations: 4 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.00012/0.01225, allocations: 73.59 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.01227, allocations: 51.41 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.01233, allocations: 126.5 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.01235, allocations: 33.7 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.01239, allocations: 96.11 kB / 0.6418 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.0124, allocations: 7.906 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.01246, allocations: 53.61 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.01253, allocations: 318.8 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.0126, allocations: 91.38 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.01267, allocations: 135.7 kB / 0.6423 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.313e-05/0.01277, allocations: 143.6 kB / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01277, allocations: 0 / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001292/0.01406, allocations: 260.3 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.01412, allocations: 67.39 kB / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.01413, allocations: 7.938 kB / 0.6428 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01414, allocations: 8.062 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.01417, allocations: 7.938 kB / 0.6428 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01417, allocations: 0 / 0.6428 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.01436, allocations: 43.91 kB / 0.6429 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.01439, allocations: 4 kB / 0.6429 GB, free: 8.699 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 9.255e-05/0.01448, allocations: 125.8 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.01449, allocations: 4 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.01452, allocations: 16.38 kB / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01452, allocations: 4 kB / 0.643 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01453, allocations: 3.984 kB / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01453, allocations: 0 / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.9e-05/0.01462, allocations: 77.83 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01462, allocations: 0 / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.01463, allocations: 3.984 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01464, allocations: 0 / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.01464, allocations: 8 kB / 0.6431 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01465, allocations: 3.938 kB / 0.6431 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01465, allocations: 3.938 kB / 0.6431 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.01475, allocations: 81.11 kB / 0.6432 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.01477, allocations: 3.953 kB / 0.6432 GB, free: 8.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.01478, allocations: 4 kB / 0.6432 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.01479, allocations: 3.984 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.01482, allocations: 7.938 kB / 0.6432 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.01482, allocations: 4 kB / 0.6432 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.815e-05/0.01484, allocations: 16.83 kB / 0.6432 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01484, allocations: 4 kB / 0.6432 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001322/0.01497, allocations: 28 kB / 0.6433 GB, free: 8.25 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.0001113/0.01508, allocations: 88.34 kB / 0.6433 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.01527, allocations: 255 kB / 0.6436 GB, free: 7.867 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.01527, allocations: 0 / 0.6436 GB, free: 7.867 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.01529, allocations: 24.84 kB / 0.6436 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.01541, allocations: 15.92 kB / 0.6436 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.01563, allocations: 141.2 kB / 0.6438 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.01566, allocations: 63.59 kB / 0.6438 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.01568, allocations: 15.92 kB / 0.6438 GB, free: 7.559 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.01579, allocations: 83.33 kB / 0.6439 GB, free: 7.477 MB / 0.6043 GB Notification: Performance of SimCode: time 8.01e-07/0.01579, allocations: 0 / 0.6439 GB, free: 7.477 MB / 0.6043 GB Notification: Performance of Templates: time 0.003531/0.01932, allocations: 2.229 MB / 0.6461 GB, free: 5.246 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.517402864992619]