Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.001322/0.001322, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001654/0.001654, allocations: 216 kB / 22.26 MB, free: 5.113 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002493/0.002493, allocations: 279.7 kB / 312.7 MB, free: 2.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.215/1.215, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003074/0.003074, allocations: 95.69 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2047, allocations: 95.38 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.002058/0.2068, allocations: 0.6035 MB / 0.8333 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 4.781e-05/0.2068, allocations: 0 / 0.8333 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.2068, allocations: 4 kB / 0.8333 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.2069, allocations: 4 kB / 0.8333 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.2069, allocations: 0 / 0.8333 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.102e-05/0.2069, allocations: 3.984 kB / 0.8333 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.207, allocations: 8 kB / 0.8333 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/0.207, allocations: 416 / 0.8333 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.2071, allocations: 3.938 kB / 0.8333 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.2071, allocations: 0 / 0.8333 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.2071, allocations: 4 kB / 0.8333 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-06/0.2071, allocations: 0 / 0.8333 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.2071, allocations: 0 / 0.8333 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2071, allocations: 7.984 kB / 0.8333 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 6.122e-05/0.2072, allocations: 0 / 0.8333 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2072, allocations: 0 / 0.8333 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2072, allocations: 0 / 0.8333 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.2072, allocations: 0 / 0.8333 GB, free: 8.047 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002977/0.2075, allocations: 242.7 kB / 0.8336 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2076, allocations: 13.94 kB / 0.8336 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.2076, allocations: 30.75 kB / 0.8336 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.824e-05/0.2076, allocations: 0.9375 kB / 0.8336 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.517e-05/0.2077, allocations: 114.4 kB / 0.8337 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2077, allocations: 4.375 kB / 0.8337 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2077, allocations: 384 / 0.8337 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2078, allocations: 30.27 kB / 0.8337 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2078, allocations: 3.938 kB / 0.8337 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.2078, allocations: 0 / 0.8337 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2079, allocations: 0 / 0.8337 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.2079, allocations: 0 / 0.8337 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.208, allocations: 132.6 kB / 0.8339 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.285e-05/0.2081, allocations: 22.52 kB / 0.8339 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.2081, allocations: 8.953 kB / 0.8339 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.2081, allocations: 0 / 0.8339 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2081, allocations: 30.56 kB / 0.8339 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.2081, allocations: 0 / 0.8339 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.2083, allocations: 37.64 kB / 0.834 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.2083, allocations: 55.39 kB / 0.834 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.2084, allocations: 101.9 kB / 0.8341 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2084, allocations: 25.7 kB / 0.8341 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.2084, allocations: 80.14 kB / 0.8342 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.2085, allocations: 0 / 0.8342 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.2085, allocations: 9.719 kB / 0.8342 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2086, allocations: 314.8 kB / 0.8345 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-06/0.2086, allocations: 4 kB / 0.8345 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.2087, allocations: 0 / 0.8345 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.2087, allocations: 12.92 kB / 0.8345 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2087, allocations: 0 / 0.8345 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.942e-05/0.2087, allocations: 33.69 kB / 0.8346 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2087, allocations: 4 kB / 0.8346 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2087, allocations: 3.938 kB / 0.8346 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2088, allocations: 4 kB / 0.8346 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.2088, allocations: 7.922 kB / 0.8346 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2088, allocations: 0 / 0.8346 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-06/0.2088, allocations: 0 / 0.8346 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2088, allocations: 4.031 kB / 0.8346 GB, free: 6.547 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001517/0.209, allocations: 114.5 kB / 0.8347 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.209, allocations: 0 / 0.8347 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.209, allocations: 6.938 kB / 0.8347 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.209, allocations: 0 / 0.8347 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.209, allocations: 0 / 0.8347 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.209, allocations: 0 / 0.8347 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2091, allocations: 120.8 kB / 0.8348 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2091, allocations: 4 kB / 0.8348 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-06/0.2092, allocations: 4 kB / 0.8348 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.2092, allocations: 0 / 0.8348 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2092, allocations: 7.875 kB / 0.8348 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2092, allocations: 0 / 0.8348 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2092, allocations: 4 kB / 0.8348 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.073e-05/0.2092, allocations: 61.06 kB / 0.8349 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-06/0.2092, allocations: 0 / 0.8349 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2092, allocations: 3.938 kB / 0.8349 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.2093, allocations: 11.97 kB / 0.8349 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.2093, allocations: 0 / 0.8349 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-06/0.2093, allocations: 0 / 0.8349 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.2093, allocations: 75.28 kB / 0.835 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2093, allocations: 0 / 0.835 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002039/0.2095, allocations: 0 / 0.835 GB, free: 6.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004964/0.21, allocations: 0.5929 MB / 0.8356 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.746e-05/0.2101, allocations: 11.94 kB / 0.8356 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2101, allocations: 0 / 0.8356 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.2101, allocations: 0 / 0.8356 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2102, allocations: 5.203 kB / 0.8356 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.2106, allocations: 98.72 kB / 0.8357 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2109, allocations: 0.6769 MB / 0.8363 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.223e-05/0.2109, allocations: 0 / 0.8363 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.2109, allocations: 7.438 kB / 0.8363 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2109, allocations: 0 / 0.8363 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.2391, allocations: 1.002 MB / 0.8373 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.7, allocations: 7.234 kB / 0.8373 GB, free: 3.707 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.03819946099975] Failed to read output from testmodel.py, exit status != 0: 10.805318317001365 10.832209082 10.621560746 Calling exit ...