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.0009108/0.0009108, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000925/0.000925, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9448/0.9448, allocations: 230.6 MB / 256 MB, free: 9.805 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.03639/0.03639, allocations: 12.17 MB / 324.6 MB, free: 6.285 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.0004418/0.0004418, allocations: 23.95 kB / 384.1 MB, free: 10.7 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.63/1.63, allocations: 353.8 MB / 0.7787 GB, free: 3.168 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: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [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.001397/0.001397, allocations: 120.8 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2099, allocations: 134.9 MB / 1.192 GB, free: 7.922 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001444/0.2113, allocations: 0.7227 MB / 1.192 GB, free: 7.203 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2125, allocations: 1.254 MB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.2125, allocations: 4 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.2125, allocations: 11.88 kB / 1.194 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.2126, allocations: 11.86 kB / 1.194 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.2131, allocations: 148.1 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2133, allocations: 115.8 kB / 1.194 GB, free: 5.656 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2134, allocations: 11.98 kB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.2135, allocations: 43.91 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.48e-05/0.2136, allocations: 47.88 kB / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.2136, allocations: 12 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.2137, allocations: 35.92 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.2137, allocations: 7.938 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.2138, allocations: 43.83 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.2139, allocations: 112 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2139, allocations: 0 / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.053e-06/0.2139, allocations: 0 / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2139, allocations: 0 / 1.194 GB, free: 5.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004558/0.2144, allocations: 339.8 kB / 1.195 GB, free: 4.977 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2144, allocations: 11.97 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.527e-05/0.2144, allocations: 42.67 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.2145, allocations: 12.89 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.2146, allocations: 122.4 kB / 1.195 GB, free: 4.758 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2146, allocations: 8.359 kB / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.2146, allocations: 8.375 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2148, allocations: 66.22 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2148, allocations: 3.938 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2148, allocations: 0 / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2148, allocations: 0 / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.2149, allocations: 43.95 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.2153, allocations: 295.8 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.2154, allocations: 46.55 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.2154, allocations: 32.92 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2154, allocations: 0 / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.2156, allocations: 87.31 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2156, allocations: 0 / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002766/0.2159, allocations: 137.6 kB / 1.195 GB, free: 3.965 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.2159, allocations: 55.41 kB / 1.196 GB, free: 3.898 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.216, allocations: 117.8 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.216, allocations: 29.7 kB / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.2161, allocations: 92.12 kB / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.2161, allocations: 11.91 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.2161, allocations: 37.7 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.2162, allocations: 318.8 kB / 1.196 GB, free: 3.27 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.102e-05/0.2163, allocations: 51.97 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.2164, allocations: 79.7 kB / 1.196 GB, free: 3.129 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2165, allocations: 129.1 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2165, allocations: 4 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002431/0.2168, allocations: 199.2 kB / 1.197 GB, free: 2.773 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.2168, allocations: 33.8 kB / 1.197 GB, free: 2.734 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2168, allocations: 16.23 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2168, allocations: 0 / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.2169, allocations: 19.92 kB / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2169, allocations: 0 / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.217, allocations: 43.91 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.217, allocations: 11.98 kB / 1.197 GB, free: 2.645 MB / 0.823 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.952e-05/0.2171, allocations: 122.8 kB / 1.197 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.2171, allocations: 7.984 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.2173, allocations: 114 kB / 1.197 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2173, allocations: 8 kB / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2173, allocations: 0 / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2173, allocations: 0 / 1.197 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.2175, allocations: 337.5 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2175, allocations: 0 / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.2176, allocations: 11.98 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2176, allocations: 0 / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2176, allocations: 0 / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.2176, allocations: 4 kB / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2176, allocations: 3.938 kB / 1.197 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2177, allocations: 203.4 kB / 1.197 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.2177, allocations: 11.94 kB / 1.197 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2177, allocations: 0 / 1.197 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.2178, allocations: 4 kB / 1.197 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.2178, allocations: 15.92 kB / 1.197 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2178, allocations: 4 kB / 1.197 GB, free: 1.73 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.2179, allocations: 91.27 kB / 1.198 GB, free: 1.641 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2179, allocations: 0 / 1.198 GB, free: 1.641 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001703/0.218, allocations: 23.94 kB / 1.198 GB, free: 1.617 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: 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.0005365/0.2186, allocations: 0.74 MB / 1.198 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.2188, allocations: 151.3 kB / 1.198 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2188, allocations: 7.938 kB / 1.198 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.888e-05/0.2188, allocations: 31.92 kB / 1.198 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.219, allocations: 24.05 kB / 1.198 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.2203, allocations: 1.629 MB / 1.2 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2205, allocations: 0.6903 MB / 1.201 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.2205, allocations: 7.75 kB / 1.201 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2205, allocations: 23.42 kB / 1.201 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of SimCode: time 5.61e-07/0.2205, allocations: 0 / 1.201 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.2355, allocations: 2.594 MB / 1.203 GB, free: 11.7 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/7.007, allocations: 5.719 kB / 1.203 GB, free: 11.7 MB / 0.8387 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.336611575447023] Failed to read output from testmodel.py, exit status != 0: 7.08321622852236 7.093162245 6.877331088 Calling exit ...