Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.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.0007566/0.0007566, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008832/0.0008832, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.8805/0.8805, allocations: 230.6 MB / 256 MB, free: 9.609 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.03773/0.03773, allocations: 12.18 MB / 324.6 MB, free: 6.102 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.0004147/0.0004147, allocations: 27.95 kB / 384.1 MB, free: 10.52 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.516/1.516, allocations: 353.9 MB / 0.7787 GB, free: 4.523 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.Logical.Validation.Timer,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer",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.001346/0.001346, allocations: 121.4 kB / 1.06 GB, free: 24.89 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1881, allocations: 134.9 MB / 1.192 GB, free: 7.512 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001353/0.1895, allocations: 0.7209 MB / 1.192 GB, free: 6.793 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1906, allocations: 1.285 MB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.1907, allocations: 0 / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.1907, allocations: 7.875 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.1908, allocations: 19.8 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.1913, allocations: 257.7 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1916, allocations: 251.6 kB / 1.194 GB, free: 4.977 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.1917, allocations: 8.234 kB / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.1918, allocations: 107.8 kB / 1.194 GB, free: 4.859 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1919, allocations: 79.75 kB / 1.194 GB, free: 4.781 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.1919, allocations: 24 kB / 1.194 GB, free: 4.758 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-05/0.192, allocations: 35.97 kB / 1.194 GB, free: 4.723 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.192, allocations: 35.91 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.1921, allocations: 83.81 kB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1923, allocations: 227.6 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1923, allocations: 0 / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1923, allocations: 0 / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1923, allocations: 0 / 1.195 GB, free: 4.383 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00053/0.1928, allocations: 421.3 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1929, allocations: 8.031 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.1929, allocations: 46.67 kB / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.193, allocations: 16.89 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1933, allocations: 194.5 kB / 1.195 GB, free: 3.633 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1933, allocations: 16.31 kB / 1.195 GB, free: 3.617 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1934, allocations: 24.36 kB / 1.195 GB, free: 3.594 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1935, allocations: 143.5 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1935, allocations: 0 / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1936, allocations: 4 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1936, allocations: 0 / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1936, allocations: 63.95 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.1942, allocations: 451.8 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1944, allocations: 137.2 kB / 1.196 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.1944, allocations: 53.72 kB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.1944, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.1947, allocations: 210.9 kB / 1.196 GB, free: 2.453 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 9.81e-07/0.1947, allocations: 0 / 1.196 GB, free: 2.453 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.0003837/0.1951, allocations: 319.8 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1951, allocations: 89.05 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.1952, allocations: 126 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.1952, allocations: 41.7 kB / 1.197 GB, free: 1.852 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1953, allocations: 92.62 kB / 1.197 GB, free: 1.758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1953, allocations: 59.58 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.1954, allocations: 77.69 kB / 1.197 GB, free: 1.617 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.1955, allocations: 326.8 kB / 1.198 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1956, allocations: 143.6 kB / 1.198 GB, free: 1.133 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1958, allocations: 219.6 kB / 1.198 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.196, allocations: 250.2 kB / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.196, allocations: 0 / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000562/0.1965, allocations: 424 kB / 1.199 GB, free: 156 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.1966, allocations: 67.39 kB / 1.199 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1966, allocations: 0 / 1.199 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1966, allocations: 4 kB / 1.199 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.1966, allocations: 23.86 kB / 1.199 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1966, allocations: 4 kB / 1.199 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.1969, allocations: 68.05 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1969, allocations: 23.98 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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 8.918e-05/0.197, allocations: 143.8 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.197, allocations: 15.94 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.1971, allocations: 12.44 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1971, allocations: 11.94 kB / 1.199 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1971, allocations: 4 kB / 1.199 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1971, allocations: 3.984 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.1975, allocations: 0.5826 MB / 1.199 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1975, allocations: 3.938 kB / 1.199 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.1975, allocations: 11.94 kB / 1.199 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1975, allocations: 7.938 kB / 1.199 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1975, allocations: 7.984 kB / 1.199 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1975, allocations: 0 / 1.199 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1975, allocations: 0 / 1.199 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1978, allocations: 431.8 kB / 1.2 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.1978, allocations: 11.91 kB / 1.2 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.1978, allocations: 11.92 kB / 1.2 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.1979, allocations: 15.98 kB / 1.2 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.1979, allocations: 23.95 kB / 1.2 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1979, allocations: 12 kB / 1.2 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.198, allocations: 102.2 kB / 1.2 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5.1e-08/0.198, allocations: 0 / 1.2 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002273/0.1982, allocations: 56.08 kB / 1.2 GB, free: 14.43 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004968/0.1987, allocations: 0.9782 MB / 1.201 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1991, allocations: 377.9 kB / 1.201 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1991, allocations: 0 / 1.201 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.1992, allocations: 87.88 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1994, allocations: 27.97 kB / 1.202 GB, free: 12.9 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2012, allocations: 2.529 MB / 1.204 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.419e-05/0.2013, allocations: 92.84 kB / 1.204 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.704e-05/0.2013, allocations: 17.48 kB / 1.204 GB, free: 10.05 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.2014, allocations: 39.53 kB / 1.204 GB, free: 10.01 MB / 0.8387 GB Notification: Performance of SimCode: time 5.71e-07/0.2014, allocations: 3.938 kB / 1.204 GB, free: 10.01 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2167, allocations: 4.941 MB / 1.209 GB, free: 5.254 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.037/6.254, allocations: 3.938 kB / 1.209 GB, free: 5.25 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.251902521587908] Failed to read output from testmodel.py, exit status != 0: 6.327434729784727 6.335568711 6.141493956 Calling exit ...