Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0007784/0.0007784, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008179/0.0008179, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.9119/0.9119, allocations: 230.6 MB / 256.8 MB, free: 3.453 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.03701/0.03701, allocations: 12.19 MB / 325.4 MB, free: 3.43 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.0004146/0.0004146, allocations: 37.22 kB / 384.9 MB, free: 45.86 MB / 298.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.665/1.665, allocations: 353.8 MB / 0.7795 GB, free: 13.07 MB / 0.5262 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [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.001372/0.001372, allocations: 124.2 kB / 1.061 GB, free: 9.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2102, allocations: 134.9 MB / 1.193 GB, free: 2.637 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001727/0.2119, allocations: 0.7192 MB / 1.194 GB, free: 1.922 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2132, allocations: 1.256 MB / 1.195 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.2133, allocations: 0 / 1.195 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.2133, allocations: 7.875 kB / 1.195 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.822e-05/0.2134, allocations: 7.922 kB / 1.195 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.214, allocations: 150.4 kB / 1.195 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.2142, allocations: 111.8 kB / 1.195 GB, free: 392 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2143, allocations: 11.98 kB / 1.195 GB, free: 380 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2144, allocations: 51.91 kB / 1.195 GB, free: 328 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2145, allocations: 43.88 kB / 1.195 GB, free: 284 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2145, allocations: 8 kB / 1.195 GB, free: 276 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.737e-05/0.2146, allocations: 31.98 kB / 1.195 GB, free: 244 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.2146, allocations: 19.86 kB / 1.195 GB, free: 224 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.2147, allocations: 39.84 kB / 1.195 GB, free: 184 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2148, allocations: 123.6 kB / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2148, allocations: 0 / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2148, allocations: 0 / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2148, allocations: 0 / 1.195 GB, free: 60 kB / 0.823 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.0004773/0.2153, allocations: 331.8 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2153, allocations: 11.98 kB / 1.196 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.921e-05/0.2154, allocations: 16.83 kB / 1.196 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.2155, allocations: 126.4 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2155, allocations: 4.375 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.2155, allocations: 8.375 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.2157, allocations: 66.22 kB / 1.196 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2157, allocations: 192 / 1.196 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2157, allocations: 7.922 kB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2157, allocations: 0 / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.2158, allocations: 51.88 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.2162, allocations: 291.8 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2163, allocations: 50.55 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.2163, allocations: 24.94 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.2163, allocations: 0 / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.2165, allocations: 99.31 kB / 1.197 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.2165, allocations: 0 / 1.197 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0002691/0.2167, allocations: 133.6 kB / 1.197 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.2168, allocations: 51.41 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.2168, allocations: 117.7 kB / 1.197 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2169, allocations: 37.7 kB / 1.197 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.2169, allocations: 88.14 kB / 1.197 GB, free: 14.4 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.2169, allocations: 12.27 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.217, allocations: 37.7 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.217, allocations: 322.8 kB / 1.197 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.2171, allocations: 47.97 kB / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.2172, allocations: 81.52 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2174, allocations: 137 kB / 1.198 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2174, allocations: 0 / 1.198 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/0.2176, allocations: 199.2 kB / 1.198 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.2177, allocations: 41.69 kB / 1.198 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2177, allocations: 0 / 1.198 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2177, allocations: 4 kB / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.2177, allocations: 15.92 kB / 1.198 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2177, allocations: 3.938 kB / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.2178, allocations: 35.86 kB / 1.198 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2179, allocations: 20.05 kB / 1.198 GB, free: 13.4 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.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): 8 * 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 6.858e-05/0.2179, allocations: 118.7 kB / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.2179, allocations: 4 kB / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.2181, allocations: 113.9 kB / 1.198 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2181, allocations: 0 / 1.198 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2181, allocations: 4 kB / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.2181, allocations: 0 / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.2184, allocations: 337.5 kB / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2184, allocations: 0 / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.2184, allocations: 11.98 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2184, allocations: 4 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2184, allocations: 0 / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2184, allocations: 3.938 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2184, allocations: 0 / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.2186, allocations: 203.4 kB / 1.199 GB, free: 12.53 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.2186, allocations: 7.953 kB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.2186, allocations: 0 / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.2186, allocations: 11.98 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2186, allocations: 7.922 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.2187, allocations: 8 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.2187, allocations: 95.27 kB / 1.199 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2187, allocations: 384 / 1.199 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001742/0.2189, allocations: 23.94 kB / 1.199 GB, free: 12.38 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.0001051/0.219, allocations: 107.2 kB / 1.199 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.2192, allocations: 155.3 kB / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2192, allocations: 0 / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.201e-05/0.2193, allocations: 44.03 kB / 1.199 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2195, allocations: 16.69 kB / 1.199 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.2197, allocations: 176.5 kB / 1.199 GB, free: 11.84 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.2199, allocations: 0.6884 MB / 1.2 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.2199, allocations: 11.44 kB / 1.2 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of SimCode: time 4.11e-07/0.2199, allocations: 4 kB / 1.2 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of Templates: time 0.002176/0.2221, allocations: 1.206 MB / 1.201 GB, free: 9.922 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.824811463244259] Failed to read output from testmodel.py, exit status != 0: 0.2273654928430915 0.2354237 0.018842553 Calling exit ...