Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001227/0.001227, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001351/0.001351, allocations: 218.2 kB / 23.04 MB, free: 5.07 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.002475/0.002475, allocations: 286.1 kB / 313.5 MB, free: 2.879 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.239/1.239, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.002786/0.002786, allocations: 100.1 kB / 0.7404 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1889, allocations: 95.39 MB / 0.8335 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003144/0.1921, allocations: 1.694 MB / 0.8352 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1942, allocations: 1.398 MB / 0.8365 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.1942, allocations: 0 / 0.8365 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1944, allocations: 27.84 kB / 0.8366 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1948, allocations: 111.5 kB / 0.8367 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1951, allocations: 132.8 kB / 0.8368 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1955, allocations: 245.6 kB / 0.837 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1956, allocations: 23.92 kB / 0.837 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1957, allocations: 87.75 kB / 0.8371 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1959, allocations: 99.7 kB / 0.8372 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.196, allocations: 16 kB / 0.8372 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.1962, allocations: 123.9 kB / 0.8374 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1963, allocations: 87.8 kB / 0.8374 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1964, allocations: 111.3 kB / 0.8376 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.1968, allocations: 322.7 kB / 0.8379 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1968, allocations: 4 kB / 0.8379 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1968, allocations: 3.938 kB / 0.8379 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1968, allocations: 4 kB / 0.8379 GB, free: 4.156 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008063/0.1977, allocations: 493.6 kB / 0.8383 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1977, allocations: 13.94 kB / 0.8384 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.1977, allocations: 8.188 kB / 0.8384 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.1978, allocations: 46.73 kB / 0.8384 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.1978, allocations: 32.73 kB / 0.8384 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1982, allocations: 209.1 kB / 0.8386 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.1982, allocations: 16.38 kB / 0.8387 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.1982, allocations: 20.12 kB / 0.8387 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.1986, allocations: 208.7 kB / 0.8389 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1986, allocations: 0 / 0.8389 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1986, allocations: 12 kB / 0.8389 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1986, allocations: 7.984 kB / 0.8389 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009363/0.1996, allocations: 0.7372 MB / 0.8396 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.2004, allocations: 0.5579 MB / 0.8402 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.2009, allocations: 292.8 kB / 0.8404 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2011, allocations: 93.38 kB / 0.8405 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.2011, allocations: 16.25 kB / 0.8405 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.2015, allocations: 184.8 kB / 0.8407 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.472e-06/0.2015, allocations: 0 / 0.8407 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0007144/0.2022, allocations: 370.1 kB / 0.8411 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.2023, allocations: 132.5 kB / 0.8412 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.2026, allocations: 316.9 kB / 0.8415 GB, free: 256 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.2026, allocations: 29.7 kB / 0.8415 GB, free: 220 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2027, allocations: 132.7 kB / 0.8417 GB, free: 80 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2029, allocations: 119 kB / 0.8418 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.203, allocations: 65.69 kB / 0.8418 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2032, allocations: 338.8 kB / 0.8422 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2033, allocations: 79.95 kB / 0.8422 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2035, allocations: 128.5 kB / 0.8423 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.2038, allocations: 214.2 kB / 0.8426 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2038, allocations: 0 / 0.8426 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000465/0.2043, allocations: 281.2 kB / 0.8428 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2043, allocations: 4 kB / 0.8428 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2043, allocations: 4 kB / 0.8428 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2043, allocations: 0 / 0.8428 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.2046, allocations: 63.91 kB / 0.8429 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2046, allocations: 7.938 kB / 0.8429 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.2047, allocations: 27.83 kB / 0.8429 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.2048, allocations: 12 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001732/0.2049, allocations: 162.4 kB / 0.8431 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.205, allocations: 23.86 kB / 0.8431 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/0.2057, allocations: 389.1 kB / 0.8435 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2057, allocations: 4 kB / 0.8435 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.2057, allocations: 7.938 kB / 0.8435 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2057, allocations: 0 / 0.8435 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.2061, allocations: 300.4 kB / 0.8438 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2061, allocations: 0 / 0.8438 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2062, allocations: 63.91 kB / 0.8438 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2062, allocations: 0 / 0.8438 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.2063, allocations: 15.92 kB / 0.8439 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2063, allocations: 0 / 0.8439 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2063, allocations: 3.938 kB / 0.8439 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.2068, allocations: 330 kB / 0.8442 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2069, allocations: 67.73 kB / 0.8442 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.2069, allocations: 4 kB / 0.8442 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2071, allocations: 17.81 kB / 0.8443 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.2071, allocations: 27.89 kB / 0.8443 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.2072, allocations: 12 kB / 0.8443 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002307/0.2074, allocations: 244.4 kB / 0.8445 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2074, allocations: 0 / 0.8445 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003151/0.2077, allocations: 83.86 kB / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002293/0.21, allocations: 1.21 MB / 0.8458 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.2104, allocations: 215.8 kB / 0.846 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2104, allocations: 0 / 0.846 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.2106, allocations: 123.8 kB / 0.8461 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2109, allocations: 38.47 kB / 0.8462 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.214, allocations: 2.499 MB / 0.8486 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.2144, allocations: 0.7613 MB / 0.8493 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003196/0.2148, allocations: 146.8 kB / 0.8495 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.2149, allocations: 103.4 kB / 0.8496 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.2149, allocations: 0 / 0.8496 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.2454, allocations: 6.297 MB / 0.8557 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 4.562 kB / 0.8557 GB, free: 1.652 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.77473679796094] Failed to read output from testmodel.py, exit status != 0: 11.706094377033878 11.732697064 11.53124862 Calling exit ...