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.001295/0.001295, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001464/0.001464, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.00273/0.00273, allocations: 291.4 kB / 313.5 MB, free: 2.613 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.237/1.237, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="cs",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.002728/0.002728, allocations: 100.3 kB / 0.7402 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2025, allocations: 95.38 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.002687/0.2051, allocations: 0.6098 MB / 0.834 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 5.424e-05/0.2052, allocations: 7.984 kB / 0.834 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.2052, allocations: 0 / 0.834 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.2053, allocations: 4 kB / 0.834 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.2053, allocations: 0 / 0.834 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-05/0.2053, allocations: 0 / 0.834 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.2054, allocations: 4 kB / 0.834 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.2054, allocations: 416 / 0.834 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.449e-05/0.2054, allocations: 0 / 0.834 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.2055, allocations: 3.984 kB / 0.834 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.2055, allocations: 0 / 0.834 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.937e-06/0.2055, allocations: 0 / 0.834 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2055, allocations: 0 / 0.834 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.2055, allocations: 8 kB / 0.834 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 6.441e-05/0.2056, allocations: 3.938 kB / 0.834 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2056, allocations: 4 kB / 0.834 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2056, allocations: 0 / 0.834 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2056, allocations: 0 / 0.834 GB, free: 7.723 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.000335/0.2059, allocations: 238.7 kB / 0.8342 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.206, allocations: 9.344 kB / 0.8342 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.206, allocations: 192 / 0.8342 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.206, allocations: 38.69 kB / 0.8343 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.2061, allocations: 0.9375 kB / 0.8343 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2062, allocations: 114.5 kB / 0.8344 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2062, allocations: 4.312 kB / 0.8344 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2062, allocations: 4.375 kB / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.2063, allocations: 34.02 kB / 0.8344 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2063, allocations: 0 / 0.8344 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2064, allocations: 0 / 0.8344 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2064, allocations: 0 / 0.8344 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.2064, allocations: 7.969 kB / 0.8344 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.2066, allocations: 116.8 kB / 0.8345 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.196e-05/0.2066, allocations: 22.52 kB / 0.8346 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.2067, allocations: 8.953 kB / 0.8346 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.2067, allocations: 0 / 0.8346 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2067, allocations: 38.5 kB / 0.8346 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.2067, allocations: 0 / 0.8346 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.2069, allocations: 37.69 kB / 0.8346 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.207, allocations: 55.34 kB / 0.8347 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.207, allocations: 93.86 kB / 0.8348 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.207, allocations: 25.7 kB / 0.8348 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.2071, allocations: 80.14 kB / 0.8349 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2071, allocations: 0 / 0.8349 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.2072, allocations: 13.72 kB / 0.8349 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2073, allocations: 310.8 kB / 0.8352 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.2073, allocations: 4.125 kB / 0.8352 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.2074, allocations: 4 kB / 0.8352 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.2074, allocations: 8.859 kB / 0.8352 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2074, allocations: 4 kB / 0.8352 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.098e-05/0.2075, allocations: 41.62 kB / 0.8353 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2075, allocations: 10.28 kB / 0.8353 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2075, allocations: 3.938 kB / 0.8353 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2075, allocations: 0 / 0.8353 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.2076, allocations: 4 kB / 0.8353 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2076, allocations: 4.094 kB / 0.8353 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.2076, allocations: 0 / 0.8353 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2076, allocations: 0 / 0.8353 GB, free: 6.219 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.000103/0.2077, allocations: 106.5 kB / 0.8354 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.2077, allocations: 7.938 kB / 0.8354 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.2077, allocations: 3 kB / 0.8354 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2077, allocations: 0 / 0.8354 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2078, allocations: 0 / 0.8354 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2078, allocations: 0 / 0.8354 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2079, allocations: 120.8 kB / 0.8355 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2079, allocations: 0 / 0.8355 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.2079, allocations: 8 kB / 0.8355 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2079, allocations: 7.875 kB / 0.8355 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.2079, allocations: 0 / 0.8355 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2079, allocations: 0 / 0.8355 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2079, allocations: 0 / 0.8355 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.208, allocations: 65.06 kB / 0.8356 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-06/0.208, allocations: 0 / 0.8356 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.208, allocations: 3.938 kB / 0.8356 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.2081, allocations: 4 kB / 0.8356 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.2081, allocations: 0 / 0.8356 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.2081, allocations: 4.031 kB / 0.8356 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.2081, allocations: 75.28 kB / 0.8357 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2081, allocations: 0 / 0.8357 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003176/0.2084, allocations: 0 / 0.8357 GB, free: 5.75 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.0005402/0.209, allocations: 0.589 MB / 0.8362 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.209, allocations: 7.938 kB / 0.8362 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2091, allocations: 0 / 0.8362 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.2091, allocations: 4 kB / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.2093, allocations: 6.562 kB / 0.8363 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.2097, allocations: 102.7 kB / 0.8364 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.2097, allocations: 59.3 kB / 0.8364 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.168e-05/0.2098, allocations: 0 / 0.8364 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.2098, allocations: 7.438 kB / 0.8364 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2098, allocations: 0 / 0.8364 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.2375, allocations: 1.066 MB / 0.8375 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.58, allocations: 10.94 kB / 0.8375 GB, free: 3.957 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.914860532036982] Failed to read output from testmodel.py, exit status != 0: 11.739436498028226 11.757342034 11.548402354 Calling exit ...