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.000748/0.000748, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001069/0.001069, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.8802/0.8802, allocations: 230.6 MB / 256 MB, free: 9.594 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.03588/0.03588, allocations: 12.18 MB / 324.6 MB, free: 6.094 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.0004569/0.0004569, allocations: 27.94 kB / 384.1 MB, free: 10.51 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.51/1.51, allocations: 353.8 MB / 0.7787 GB, free: 4.625 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.001337/0.001337, allocations: 122.5 kB / 1.06 GB, free: 24.84 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1807, allocations: 134.9 MB / 1.192 GB, free: 7.555 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001373/0.1821, allocations: 0.6989 MB / 1.192 GB, free: 6.859 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1832, allocations: 1.223 MB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.1833, allocations: 4 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.1833, allocations: 3.938 kB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.1834, allocations: 11.86 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1838, allocations: 144.6 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1839, allocations: 119.7 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.184, allocations: 11.98 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.1841, allocations: 51.84 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.1842, allocations: 39.88 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1842, allocations: 12 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.1843, allocations: 23.98 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.1843, allocations: 8 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.1843, allocations: 43.83 kB / 1.194 GB, free: 5.164 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1845, allocations: 108 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1845, allocations: 4 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1845, allocations: 4 kB / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1845, allocations: 3.938 kB / 1.194 GB, free: 5.047 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.0004185/0.1849, allocations: 335.8 kB / 1.194 GB, free: 4.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1849, allocations: 8.031 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.185, allocations: 34.73 kB / 1.194 GB, free: 4.629 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.185, allocations: 12.89 kB / 1.194 GB, free: 4.617 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.14e-05/0.1851, allocations: 126.4 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1851, allocations: 12.36 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1851, allocations: 12.31 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1853, allocations: 66.22 kB / 1.195 GB, free: 4.375 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.1853, allocations: 3.938 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1853, allocations: 0 / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1853, allocations: 0 / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.1854, allocations: 43.95 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1857, allocations: 275.8 kB / 1.195 GB, free: 4.016 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.1858, allocations: 46.56 kB / 1.195 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.1859, allocations: 28.92 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1859, allocations: 0 / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.186, allocations: 87.31 kB / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.186, allocations: 4 kB / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002603/0.1863, allocations: 145.6 kB / 1.195 GB, free: 3.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1863, allocations: 51.41 kB / 1.195 GB, free: 3.617 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.241e-05/0.1864, allocations: 121.8 kB / 1.195 GB, free: 3.488 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1864, allocations: 33.7 kB / 1.195 GB, free: 3.449 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1865, allocations: 84.14 kB / 1.196 GB, free: 3.363 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.1865, allocations: 11.91 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1865, allocations: 41.69 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.1866, allocations: 318.8 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1867, allocations: 77.66 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.1868, allocations: 113 kB / 1.196 GB, free: 2.773 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1869, allocations: 125.1 kB / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1869, allocations: 11.88 kB / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.1872, allocations: 232.9 kB / 1.196 GB, free: 2.375 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.1872, allocations: 33.7 kB / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1872, allocations: 4.062 kB / 1.196 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1872, allocations: 0 / 1.196 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.1873, allocations: 11.98 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1873, allocations: 4 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.1874, allocations: 44.31 kB / 1.197 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1874, allocations: 4 kB / 1.197 GB, free: 2.27 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.469e-05/0.1874, allocations: 125.7 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.1875, allocations: 11.98 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.1876, allocations: 114 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1876, allocations: 3.938 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1876, allocations: 0 / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1876, allocations: 4 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.1879, allocations: 333.5 kB / 1.197 GB, free: 1.621 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1879, allocations: 0 / 1.197 GB, free: 1.621 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.1879, allocations: 11.98 kB / 1.197 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1879, allocations: 4 kB / 1.197 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1879, allocations: 0 / 1.197 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1879, allocations: 0 / 1.197 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1879, allocations: 3.938 kB / 1.197 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.1881, allocations: 199.5 kB / 1.197 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.1881, allocations: 15.94 kB / 1.197 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1881, allocations: 3.984 kB / 1.197 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.1881, allocations: 4 kB / 1.197 GB, free: 1.367 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1882, allocations: 15.92 kB / 1.197 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1882, allocations: 0 / 1.197 GB, free: 1.352 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.1882, allocations: 91.27 kB / 1.197 GB, free: 1.262 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.1882, allocations: 0 / 1.197 GB, free: 1.262 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001715/0.1884, allocations: 27.94 kB / 1.197 GB, free: 1.234 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.0003416/0.1887, allocations: 0.7397 MB / 1.198 GB, free: 480 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1889, allocations: 185 kB / 1.198 GB, free: 276 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1889, allocations: 0 / 1.198 GB, free: 276 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.189, allocations: 35.91 kB / 1.198 GB, free: 240 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.1892, allocations: 22.19 kB / 1.198 GB, free: 220 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1905, allocations: 1.762 MB / 1.2 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.1906, allocations: 71.59 kB / 1.2 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.1906, allocations: 11.73 kB / 1.2 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.1906, allocations: 19.44 kB / 1.2 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of SimCode: time 6.42e-07/0.1906, allocations: 0 / 1.2 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.204, allocations: 3.112 MB / 1.203 GB, free: 11.24 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.071/6.275, allocations: 3.938 kB / 1.203 GB, free: 11.24 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.242536223493516] Failed to read output from testmodel.py, exit status != 0: 6.350008494220674 6.3579196399999995 6.171801042 Calling exit ...