Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.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.0007319/0.0007319, 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.0007558/0.0007558, 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.8636/0.8636, allocations: 177.1 MB / 203.7 MB, free: 5.711 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.03556/0.03556, allocations: 9.119 MB / 269.2 MB, free: 4.449 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.0003737/0.0003737, allocations: 23.97 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.469/1.469, 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9295 GB, free: 8.133 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.864e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001082/0.0011, allocations: 0.6357 MB / 0.9301 GB, free: 7.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.002441, allocations: 1.235 MB / 0.9313 GB, free: 6.266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.002488, allocations: 0 / 0.9313 GB, free: 6.266 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.002514, allocations: 3.938 kB / 0.9313 GB, free: 6.262 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.002583, allocations: 11.92 kB / 0.9313 GB, free: 6.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.003035, allocations: 209.9 kB / 0.9315 GB, free: 6.051 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.003194, allocations: 173 kB / 0.9317 GB, free: 5.883 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.003279, allocations: 11.98 kB / 0.9317 GB, free: 5.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.00338, allocations: 95.86 kB / 0.9318 GB, free: 5.777 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.00348, allocations: 51.91 kB / 0.9318 GB, free: 5.727 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.003507, allocations: 12.69 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.003564, allocations: 33.67 kB / 0.9319 GB, free: 5.684 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.003583, allocations: 7.922 kB / 0.9319 GB, free: 5.676 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.003637, allocations: 55.95 kB / 0.9319 GB, free: 5.621 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.003801, allocations: 179.6 kB / 0.9321 GB, free: 5.445 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003803, allocations: 0 / 0.9321 GB, free: 5.445 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003804, allocations: 1.656 kB / 0.9321 GB, free: 5.445 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.003808, allocations: 3.938 kB / 0.9321 GB, free: 5.441 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.0003747/0.004182, allocations: 365.5 kB / 0.9325 GB, free: 5.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.004216, allocations: 11.98 kB / 0.9325 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.004258, allocations: 9.438 kB / 0.9325 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/0.004328, allocations: 113.7 kB / 0.9326 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.00434, allocations: 9.219 kB / 0.9326 GB, free: 4.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.004362, allocations: 12.38 kB / 0.9326 GB, free: 4.863 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/0.00445, allocations: 51.3 kB / 0.9327 GB, free: 4.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.004457, allocations: 192 / 0.9327 GB, free: 4.809 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.004465, allocations: 384 / 0.9327 GB, free: 4.809 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.004469, allocations: 1.562 kB / 0.9327 GB, free: 4.809 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.004503, allocations: 23.86 kB / 0.9327 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.004804, allocations: 264.5 kB / 0.9329 GB, free: 4.496 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.785e-05/0.004861, allocations: 33.05 kB / 0.933 GB, free: 4.457 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.004882, allocations: 16.94 kB / 0.933 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.004891, allocations: 0 / 0.933 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.951e-05/0.00499, allocations: 91.19 kB / 0.9331 GB, free: 4.336 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.004991, allocations: 0 / 0.9331 GB, free: 4.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001879/0.005179, allocations: 105.6 kB / 0.9332 GB, free: 4.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.005203, allocations: 56.06 kB / 0.9332 GB, free: 4.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.777e-05/0.005271, allocations: 118.4 kB / 0.9333 GB, free: 4.035 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.005292, allocations: 37.64 kB / 0.9334 GB, free: 3.992 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.005338, allocations: 88.64 kB / 0.9335 GB, free: 3.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.005349, allocations: 13.31 kB / 0.9335 GB, free: 3.891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.005412, allocations: 45.69 kB / 0.9335 GB, free: 3.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.005485, allocations: 322.8 kB / 0.9338 GB, free: 3.516 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.005597, allocations: 127.3 kB / 0.9339 GB, free: 3.379 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.005709, allocations: 151.6 kB / 0.9341 GB, free: 3.207 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.005831, allocations: 156.7 kB / 0.9342 GB, free: 3.027 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.005834, allocations: 4 kB / 0.9342 GB, free: 3.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002878/0.006122, allocations: 334.5 kB / 0.9346 GB, free: 2.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.006158, allocations: 67.39 kB / 0.9346 GB, free: 2.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.006164, allocations: 4 kB / 0.9346 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.006174, allocations: 0 / 0.9346 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.717e-05/0.006192, allocations: 9.531 kB / 0.9346 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.006201, allocations: 3.938 kB / 0.9346 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.006392, allocations: 58.42 kB / 0.9347 GB, free: 2.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.006413, allocations: 15.98 kB / 0.9347 GB, free: 2.504 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,nand1.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.447e-05/0.006477, allocations: 121.8 kB / 0.9348 GB, free: 2.375 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.006485, allocations: 3.938 kB / 0.9348 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.006507, allocations: 17.08 kB / 0.9349 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00651, allocations: 0 / 0.9349 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.006511, allocations: 0.8438 kB / 0.9349 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.006518, allocations: 3.953 kB / 0.9349 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.006528, allocations: 4 kB / 0.9349 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.012e-05/0.006538, allocations: 1.719 kB / 0.9349 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.006573, allocations: 7.984 kB / 0.9349 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.667e-05/0.006669, allocations: 164.9 kB / 0.935 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001057/0.006775, allocations: 254.7 kB / 0.9353 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.691e-05/0.006802, allocations: 16.66 kB / 0.9353 GB, free: 1.887 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.006832, allocations: 91.27 kB / 0.9354 GB, free: 1.797 MB / 0.698 GB Notification: Performance of Backend: time 2.21e-07/0.006832, allocations: 0.7188 kB / 0.9354 GB, free: 1.797 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.007232, allocations: 341.8 kB / 0.9357 GB, free: 1.422 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003914/0.007624, allocations: 0.5982 MB / 0.9363 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of Templates: time 0.00314/0.01076, allocations: 2.118 MB / 0.9384 GB, free: 14.73 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.617298299446702] Failed to read output from testmodel.py, exit status != 0: 0.014986063353717327 0.022833436000000002 0.017284985000000003 Calling exit ...