Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.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.001842/0.001842, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002867/0.002867, allocations: 213.4 kB / 22.24 MB, free: 4.855 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.781 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.06201/0.06201, allocations: 12.18 MB / 324.6 MB, free: 7.059 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.0008071/0.0008071, allocations: 31.95 kB / 384.1 MB, free: 47.51 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.517/2.517, allocations: 353.9 MB / 0.7787 GB, free: 1.629 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") [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.003516/0.003516, allocations: 119.1 kB / 1.06 GB, free: 12.72 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3085, allocations: 134.9 MB / 1.192 GB, free: 5.918 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002007/0.3105, allocations: 0.7151 MB / 1.193 GB, free: 5.207 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3121, allocations: 1.188 MB / 1.194 GB, free: 4.008 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.3121, allocations: 0 / 1.194 GB, free: 4.008 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.3121, allocations: 3.938 kB / 1.194 GB, free: 4.004 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.3122, allocations: 15.86 kB / 1.194 GB, free: 3.988 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.3127, allocations: 135 kB / 1.194 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3129, allocations: 119.7 kB / 1.194 GB, free: 3.742 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.313, allocations: 7.984 kB / 1.194 GB, free: 3.734 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.3131, allocations: 51.89 kB / 1.194 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.3132, allocations: 35.89 kB / 1.194 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3133, allocations: 12 kB / 1.194 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.3133, allocations: 19.98 kB / 1.194 GB, free: 3.617 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.3133, allocations: 11.94 kB / 1.194 GB, free: 3.605 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.3134, allocations: 43.89 kB / 1.194 GB, free: 3.562 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.3136, allocations: 107.6 kB / 1.195 GB, free: 3.457 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3136, allocations: 3.938 kB / 1.195 GB, free: 3.453 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3136, allocations: 7.938 kB / 1.195 GB, free: 3.445 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3136, allocations: 0 / 1.195 GB, free: 3.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000603/0.3142, allocations: 335.8 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3142, allocations: 15.98 kB / 1.195 GB, free: 3.062 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.3143, allocations: 8.891 kB / 1.195 GB, free: 3.055 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.3144, allocations: 116 kB / 1.195 GB, free: 2.918 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3144, allocations: 4.375 kB / 1.195 GB, free: 2.914 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.3144, allocations: 12.38 kB / 1.195 GB, free: 2.902 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3146, allocations: 66.2 kB / 1.195 GB, free: 2.832 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3147, allocations: 4.188 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3147, allocations: 11.94 kB / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3147, allocations: 0 / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3149, allocations: 43.88 kB / 1.195 GB, free: 2.773 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.3153, allocations: 260.5 kB / 1.195 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3155, allocations: 58.55 kB / 1.195 GB, free: 2.422 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3156, allocations: 40.83 kB / 1.196 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3156, allocations: 0 / 1.196 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.3159, allocations: 91.36 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3159, allocations: 0 / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.000453/0.3163, allocations: 141.6 kB / 1.196 GB, free: 2.133 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3164, allocations: 51.41 kB / 1.196 GB, free: 2.07 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3165, allocations: 133.8 kB / 1.196 GB, free: 1.93 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3165, allocations: 29.7 kB / 1.196 GB, free: 1.895 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.3166, allocations: 92.09 kB / 1.196 GB, free: 1.801 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3166, allocations: 15.91 kB / 1.196 GB, free: 1.785 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3167, allocations: 41.69 kB / 1.196 GB, free: 1.738 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3168, allocations: 314.8 kB / 1.196 GB, free: 1.422 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.317, allocations: 81.66 kB / 1.196 GB, free: 1.336 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3172, allocations: 119.8 kB / 1.197 GB, free: 1.199 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.3175, allocations: 145.9 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3175, allocations: 0 / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004893/0.318, allocations: 248.8 kB / 1.197 GB, free: 0.7734 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.3181, allocations: 39.7 kB / 1.197 GB, free: 0.7305 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.3181, allocations: 4 kB / 1.197 GB, free: 0.7266 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3181, allocations: 0 / 1.197 GB, free: 0.7266 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.3182, allocations: 11.98 kB / 1.197 GB, free: 0.7148 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3182, allocations: 4 kB / 1.197 GB, free: 0.7109 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.3184, allocations: 39.89 kB / 1.197 GB, free: 0.6719 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3184, allocations: 4 kB / 1.197 GB, free: 0.668 MB / 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001154/0.3185, allocations: 134.6 kB / 1.197 GB, free: 0.5273 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3185, allocations: 7.953 kB / 1.197 GB, free: 0.5195 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3186, allocations: 8.375 kB / 1.197 GB, free: 0.5078 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3186, allocations: 11.88 kB / 1.197 GB, free: 0.4961 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3186, allocations: 0 / 1.197 GB, free: 0.4961 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3186, allocations: 0 / 1.197 GB, free: 0.4961 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.319, allocations: 322 kB / 1.198 GB, free: 148 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.319, allocations: 0 / 1.198 GB, free: 148 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.3191, allocations: 7.984 kB / 1.198 GB, free: 140 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3191, allocations: 8 kB / 1.198 GB, free: 132 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3191, allocations: 0 / 1.198 GB, free: 132 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3191, allocations: 0 / 1.198 GB, free: 132 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3191, allocations: 64 / 1.198 GB, free: 132 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.3195, allocations: 211.8 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.3195, allocations: 7.984 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3195, allocations: 4 kB / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.3196, allocations: 4 kB / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.3196, allocations: 11.92 kB / 1.198 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3196, allocations: 8 kB / 1.198 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.3197, allocations: 91.27 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3197, allocations: 0 / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002614/0.32, allocations: 23.94 kB / 1.198 GB, free: 15.76 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001375/0.3201, allocations: 103.2 kB / 1.198 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.3205, allocations: 201.2 kB / 1.198 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3205, allocations: 0 / 1.198 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.3207, allocations: 35.97 kB / 1.198 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.321, allocations: 15.98 kB / 1.198 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3214, allocations: 167.2 kB / 1.198 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.627e-05/0.3215, allocations: 71.34 kB / 1.198 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.3215, allocations: 8.047 kB / 1.198 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3216, allocations: 11.44 kB / 1.198 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3216, allocations: 4 kB / 1.198 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.004822/0.3264, allocations: 1.605 MB / 1.2 GB, free: 13.51 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.521078325808048] Failed to read output from testmodel.py, exit status != 0: 0.33475780114531517 0.34966143 0.032998674 Calling exit ...