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.001386/0.001386, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001474/0.001474, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002387/0.002387, allocations: 284.8 kB / 309.8 MB, free: 3.441 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.074/1.074, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.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.002962/0.002962, allocations: 99.86 kB / 0.7347 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5884, allocations: 95.34 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002789/0.5911, allocations: 1.694 MB / 0.8294 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.5927, allocations: 1.299 MB / 0.8307 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.5928, allocations: 0 / 0.8307 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.593, allocations: 26.27 kB / 0.8307 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.5933, allocations: 115.1 kB / 0.8309 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.5937, allocations: 129.1 kB / 0.831 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.5939, allocations: 246.4 kB / 0.8312 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.594, allocations: 19.5 kB / 0.8312 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.5941, allocations: 84.05 kB / 0.8313 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.5943, allocations: 104.3 kB / 0.8314 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.5944, allocations: 15.75 kB / 0.8314 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.5946, allocations: 125.3 kB / 0.8315 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.5946, allocations: 85.59 kB / 0.8316 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.5947, allocations: 107.4 kB / 0.8317 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.5951, allocations: 329.1 kB / 0.832 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5951, allocations: 4.609 kB / 0.832 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5951, allocations: 3.938 kB / 0.832 GB, free: 332 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.5952, allocations: 2.656 kB / 0.8321 GB, free: 332 kB / 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.0008359/0.596, allocations: 0.5548 MB / 0.8326 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.596, allocations: 9.312 kB / 0.8326 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.596, allocations: 5.562 kB / 0.8326 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.57e-05/0.5961, allocations: 51.86 kB / 0.8327 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.5962, allocations: 33.66 kB / 0.8327 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.5966, allocations: 277.4 kB / 0.833 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5966, allocations: 10.84 kB / 0.833 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.5966, allocations: 19.97 kB / 0.833 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.597, allocations: 216.6 kB / 0.8332 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.597, allocations: 0 / 0.8332 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.5971, allocations: 11.7 kB / 0.8332 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5971, allocations: 3.656 kB / 0.8332 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.5981, allocations: 0.7361 MB / 0.8339 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.599, allocations: 0.5802 MB / 0.8345 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.5996, allocations: 279.5 kB / 0.8348 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.5997, allocations: 102.1 kB / 0.8349 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.5998, allocations: 19.52 kB / 0.8349 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.6002, allocations: 181.3 kB / 0.835 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.6002, allocations: 0 / 0.835 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0007255/0.6009, allocations: 366.2 kB / 0.8354 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.601, allocations: 136.7 kB / 0.8355 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.6014, allocations: 315.7 kB / 0.8358 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.6014, allocations: 32.27 kB / 0.8359 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.6015, allocations: 131.8 kB / 0.836 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.6016, allocations: 118.9 kB / 0.8361 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.6018, allocations: 66.92 kB / 0.8362 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6019, allocations: 332.9 kB / 0.8365 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.6021, allocations: 81.23 kB / 0.8366 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.6023, allocations: 127.1 kB / 0.8367 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.6026, allocations: 212.9 kB / 0.8369 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6026, allocations: 0 / 0.8369 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004781/0.6031, allocations: 287.6 kB / 0.8372 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6031, allocations: 3.312 kB / 0.8372 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6031, allocations: 1.219 kB / 0.8372 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.6032, allocations: 1.734 kB / 0.8372 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.6034, allocations: 55.14 kB / 0.8372 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.6034, allocations: 9.938 kB / 0.8372 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.6036, allocations: 32.72 kB / 0.8373 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.6036, allocations: 13.36 kB / 0.8373 GB, free: 13.23 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.0001839/0.6038, allocations: 170.7 kB / 0.8374 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.6039, allocations: 25.2 kB / 0.8375 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.6046, allocations: 390.3 kB / 0.8378 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.6047, allocations: 3.906 kB / 0.8378 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.6047, allocations: 3.938 kB / 0.8378 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6047, allocations: 3.719 kB / 0.8378 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.6051, allocations: 332.9 kB / 0.8382 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6051, allocations: 0 / 0.8382 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.6053, allocations: 62.22 kB / 0.8382 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6053, allocations: 0 / 0.8382 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.6053, allocations: 11.34 kB / 0.8382 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6053, allocations: 0 / 0.8382 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6053, allocations: 13.62 kB / 0.8382 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.6058, allocations: 317.7 kB / 0.8385 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.6059, allocations: 147.8 kB / 0.8387 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.606, allocations: 7.766 kB / 0.8387 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.6061, allocations: 12.16 kB / 0.8387 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.6062, allocations: 29.89 kB / 0.8387 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.6062, allocations: 10.11 kB / 0.8387 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002362/0.6065, allocations: 248.1 kB / 0.839 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6065, allocations: 0 / 0.839 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003461/0.6068, allocations: 75.69 kB / 0.839 GB, free: 12.18 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.002297/0.6091, allocations: 1.212 MB / 0.8402 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004754/0.6096, allocations: 217.7 kB / 0.8404 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6096, allocations: 1.5 kB / 0.8404 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.6098, allocations: 122.1 kB / 0.8406 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.6101, allocations: 38.34 kB / 0.8406 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.6133, allocations: 2.497 MB / 0.843 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.6137, allocations: 0.7608 MB / 0.8438 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003632/0.6141, allocations: 147.4 kB / 0.8439 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.6143, allocations: 99.23 kB / 0.844 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.6143, allocations: 4.688 kB / 0.844 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.6427, allocations: 6.059 MB / 0.8499 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/9.332, allocations: 10.16 kB / 0.8499 GB, free: 7.848 MB / 0.5919 GB " [Timeout remaining time 650] (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: 13.482579907984473] Failed to read output from testmodel.py, exit status != 0: 9.568511780002154 9.58265222 8.98428577 Calling exit ...