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.0006347/0.0006347, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 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.0007633/0.0007633, allocations: 216.7 kB / 23 MB, free: 2.977 MB / 13.93 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.9927/0.9927, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.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.0363/0.0363, allocations: 12.19 MB / 325.4 MB, free: 6.121 MB / 250.7 MB " [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.0005239/0.0005239, allocations: 39.45 kB / 384.9 MB, free: 10.54 MB / 314.7 MB " [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.834/1.834, allocations: 353.9 MB / 0.7794 GB, free: 4.551 MB / 0.5105 GB " [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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 122 kB / 1.061 GB, free: 24.48 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2947, allocations: 134.9 MB / 1.193 GB, free: 7 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001559/0.2962, allocations: 0.6332 MB / 1.194 GB, free: 6.367 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2974, allocations: 1.223 MB / 1.195 GB, free: 5.133 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.2975, allocations: 4 kB / 1.195 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.2975, allocations: 3.938 kB / 1.195 GB, free: 5.125 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.2976, allocations: 23.84 kB / 1.195 GB, free: 5.102 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2981, allocations: 209.3 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.2983, allocations: 175.7 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2985, allocations: 8 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.653e-05/0.2985, allocations: 71.88 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2987, allocations: 51.84 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2987, allocations: 20 kB / 1.195 GB, free: 4.582 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.2987, allocations: 24 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.2988, allocations: 15.92 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.2988, allocations: 47.89 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.299, allocations: 151.5 kB / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.299, allocations: 3.938 kB / 1.195 GB, free: 4.344 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.299, allocations: 0 / 1.195 GB, free: 4.344 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.299, allocations: 0 / 1.195 GB, free: 4.344 MB / 0.823 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.0004855/0.2995, allocations: 365.5 kB / 1.196 GB, free: 3.941 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2996, allocations: 8.031 kB / 1.196 GB, free: 3.934 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.2996, allocations: 12.89 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.2997, allocations: 118.4 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2997, allocations: 8.359 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.2998, allocations: 12.38 kB / 1.196 GB, free: 3.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2999, allocations: 46.25 kB / 1.196 GB, free: 3.711 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2999, allocations: 192 / 1.196 GB, free: 3.711 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2999, allocations: 3.938 kB / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2999, allocations: 0 / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.2999, allocations: 19.92 kB / 1.196 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.3003, allocations: 272.5 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.3004, allocations: 26.58 kB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.3004, allocations: 24.88 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3005, allocations: 3.984 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3006, allocations: 83.31 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3006, allocations: 0 / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002156/0.3008, allocations: 97.86 kB / 1.197 GB, free: 3.129 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3009, allocations: 59.41 kB / 1.197 GB, free: 3.059 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3009, allocations: 125.7 kB / 1.197 GB, free: 2.926 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.301, allocations: 29.7 kB / 1.197 GB, free: 2.891 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.301, allocations: 92.12 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.301, allocations: 15.84 kB / 1.197 GB, free: 2.781 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.3011, allocations: 57.67 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.3012, allocations: 314.8 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3013, allocations: 123.4 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.3016, allocations: 150 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3018, allocations: 172 kB / 1.198 GB, free: 1.902 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3018, allocations: 0 / 1.198 GB, free: 1.902 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000303/0.3021, allocations: 332.2 kB / 1.198 GB, free: 1.547 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.3021, allocations: 67.39 kB / 1.198 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3021, allocations: 0 / 1.198 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3021, allocations: 4 kB / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.3022, allocations: 3.938 kB / 1.198 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3022, allocations: 8.062 kB / 1.198 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3024, allocations: 56.05 kB / 1.198 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.3024, allocations: 12.06 kB / 1.198 GB, free: 1.387 MB / 0.823 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 8.223e-05/0.3025, allocations: 127.6 kB / 1.198 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.3025, allocations: 11.95 kB / 1.198 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.3025, allocations: 8.375 kB / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3025, allocations: 0 / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3025, allocations: 0 / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3025, allocations: 4 kB / 1.198 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.08e-05/0.3026, allocations: 125.2 kB / 1.198 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3026, allocations: 0 / 1.198 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.3026, allocations: 7.984 kB / 1.198 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3026, allocations: 4 kB / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3026, allocations: 0 / 1.198 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3026, allocations: 3.938 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3026, allocations: 0 / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.3027, allocations: 113 kB / 1.198 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.3027, allocations: 7.953 kB / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3027, allocations: 0 / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.3028, allocations: 4 kB / 1.198 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3028, allocations: 7.984 kB / 1.198 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3028, allocations: 4 kB / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.3028, allocations: 99.2 kB / 1.199 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3028, allocations: 0 / 1.199 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001568/0.303, allocations: 28 kB / 1.199 GB, free: 0.7812 MB / 0.823 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,nand1.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.0001303/0.3031, allocations: 107.2 kB / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.3034, allocations: 270.1 kB / 1.199 GB, free: 376 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3034, allocations: 4 kB / 1.199 GB, free: 372 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.3034, allocations: 19.98 kB / 1.199 GB, free: 352 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.3036, allocations: 28.11 kB / 1.199 GB, free: 324 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.3039, allocations: 184.5 kB / 1.199 GB, free: 104 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.861e-05/0.304, allocations: 71.58 kB / 1.199 GB, free: 12 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.304, allocations: 11.44 kB / 1.199 GB, free: 0 / 0.823 GB Notification: Performance of SimCode: time 5.81e-07/0.304, allocations: 0 / 1.199 GB, free: 0 / 0.823 GB Notification: Performance of Templates: time 0.002346/0.3063, allocations: 1.396 MB / 1.201 GB, free: 14.62 MB / 0.8387 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: 8.182431744411588] Failed to read output from testmodel.py, exit status != 0: 0.31237390637397766 0.32107432099999994 0.020321294 Calling exit ...