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.001343/0.001343, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 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.00164/0.00164, allocations: 215.6 kB / 22.24 MB, free: 5.242 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.07678/0.07678, allocations: 12.2 MB / 324.6 MB, free: 7.176 MB / 254.1 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.0007416/0.0007416, allocations: 32.11 kB / 384.1 MB, free: 47.38 MB / 302.1 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 2.574/2.574, allocations: 353.9 MB / 0.7787 GB, free: 1.816 MB / 0.5138 GB " [Timeout remaining time 177] 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.005023/0.005023, allocations: 133 kB / 1.06 GB, free: 12.63 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3625, allocations: 134.9 MB / 1.192 GB, free: 5.824 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002708/0.3652, allocations: 0.6138 MB / 1.193 GB, free: 5.211 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.3678, allocations: 1.231 MB / 1.194 GB, free: 3.969 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.3679, allocations: 4 kB / 1.194 GB, free: 3.965 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.3679, allocations: 3.938 kB / 1.194 GB, free: 3.961 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.368, allocations: 15.86 kB / 1.194 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3691, allocations: 210.8 kB / 1.194 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.3694, allocations: 171.8 kB / 1.194 GB, free: 3.578 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3695, allocations: 11.98 kB / 1.194 GB, free: 3.566 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3697, allocations: 71.89 kB / 1.194 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.3699, allocations: 51.84 kB / 1.195 GB, free: 3.445 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.37, allocations: 16 kB / 1.195 GB, free: 3.43 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3701, allocations: 31.92 kB / 1.195 GB, free: 3.398 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.3701, allocations: 15.92 kB / 1.195 GB, free: 3.383 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3702, allocations: 47.89 kB / 1.195 GB, free: 3.336 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.3706, allocations: 151.5 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3706, allocations: 0 / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3706, allocations: 0 / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3706, allocations: 0 / 1.195 GB, free: 3.188 MB / 0.8263 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.0007626/0.3713, allocations: 369.5 kB / 1.195 GB, free: 2.781 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3714, allocations: 11.98 kB / 1.195 GB, free: 2.77 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.131e-05/0.3715, allocations: 12.89 kB / 1.195 GB, free: 2.758 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3716, allocations: 110.5 kB / 1.195 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.3717, allocations: 4.375 kB / 1.195 GB, free: 2.621 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.3717, allocations: 12.38 kB / 1.195 GB, free: 2.609 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3719, allocations: 58.16 kB / 1.195 GB, free: 2.547 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3719, allocations: 192 / 1.195 GB, free: 2.547 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3719, allocations: 3.938 kB / 1.195 GB, free: 2.543 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3719, allocations: 4 kB / 1.195 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.372, allocations: 15.98 kB / 1.195 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.3727, allocations: 276.5 kB / 1.196 GB, free: 2.223 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3728, allocations: 30.52 kB / 1.196 GB, free: 2.184 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.3728, allocations: 20.88 kB / 1.196 GB, free: 2.16 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.3728, allocations: 3.938 kB / 1.196 GB, free: 2.156 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.3731, allocations: 83.36 kB / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.3731, allocations: 0 / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004049/0.3735, allocations: 101.6 kB / 1.196 GB, free: 1.957 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.3736, allocations: 59.41 kB / 1.196 GB, free: 1.887 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3738, allocations: 125.7 kB / 1.196 GB, free: 1.754 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.3738, allocations: 33.7 kB / 1.196 GB, free: 1.715 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3739, allocations: 92.12 kB / 1.196 GB, free: 1.621 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3739, allocations: 11.91 kB / 1.196 GB, free: 1.609 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.3741, allocations: 53.69 kB / 1.196 GB, free: 1.551 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3743, allocations: 314.8 kB / 1.196 GB, free: 1.234 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.3746, allocations: 123.4 kB / 1.197 GB, free: 1.102 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.3749, allocations: 159 kB / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.3753, allocations: 159.6 kB / 1.197 GB, free: 0.7383 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3753, allocations: 4 kB / 1.197 GB, free: 0.7344 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000822/0.3761, allocations: 328.7 kB / 1.197 GB, free: 392 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.29e-05/0.3762, allocations: 71.33 kB / 1.197 GB, free: 308 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3762, allocations: 0 / 1.197 GB, free: 308 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3762, allocations: 4 kB / 1.197 GB, free: 304 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/0.3762, allocations: 0 / 1.197 GB, free: 304 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3762, allocations: 7.938 kB / 1.197 GB, free: 296 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.3768, allocations: 56.06 kB / 1.197 GB, free: 240 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.3768, allocations: 11.98 kB / 1.197 GB, free: 228 kB / 0.8263 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 0.0001717/0.377, allocations: 122.9 kB / 1.197 GB, free: 96 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.377, allocations: 7.953 kB / 1.197 GB, free: 88 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.3771, allocations: 12.36 kB / 1.198 GB, free: 72 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3771, allocations: 0 / 1.198 GB, free: 72 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3771, allocations: 3.938 kB / 1.198 GB, free: 68 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3771, allocations: 4 kB / 1.198 GB, free: 64 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3773, allocations: 129.2 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3773, allocations: 0 / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.3774, allocations: 4 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3774, allocations: 0 / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3774, allocations: 3.984 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3774, allocations: 0 / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3774, allocations: 0 / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.3776, allocations: 113 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.3776, allocations: 8.016 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3776, allocations: 4 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.3777, allocations: 4 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.3777, allocations: 11.98 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3777, allocations: 4 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.3778, allocations: 95.2 kB / 1.198 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/0.3778, allocations: 0 / 1.198 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003478/0.3781, allocations: 28 kB / 1.198 GB, free: 15.62 MB / 0.8419 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.0001798/0.3783, allocations: 99.25 kB / 1.198 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.3788, allocations: 274.1 kB / 1.198 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3788, allocations: 8.188 kB / 1.198 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.3788, allocations: 23.98 kB / 1.198 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3791, allocations: 30.59 kB / 1.198 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.3795, allocations: 162.7 kB / 1.198 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.3795, allocations: 67.34 kB / 1.199 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.3796, allocations: 7.984 kB / 1.199 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.3796, allocations: 11.44 kB / 1.199 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.3796, allocations: 4 kB / 1.199 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.005732/0.3853, allocations: 2.07 MB / 1.201 GB, free: 12.84 MB / 0.8419 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.528047002851963] Failed to read output from testmodel.py, exit status != 0: 0.3957519792020321 0.411189916 0.037139901 Calling exit ...