Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001292/0.001292, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001149/0.001149, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.15/1.15, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001947/0.001947, allocations: 237.5 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.7987/0.7987, allocations: 138.4 MB / 454.3 MB, free: 1.633 MB / 362.7 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.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.579e-05, allocations: 7.906 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002233/0.002249, allocations: 1.879 MB / 0.6482 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.004031, allocations: 1.788 MB / 0.6499 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.032e-05/0.004121, allocations: 1.438 kB / 0.6499 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.004382, allocations: 32.56 kB / 0.6499 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.004757, allocations: 121.2 kB / 0.6501 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.005122, allocations: 180.4 kB / 0.6502 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.005412, allocations: 299.1 kB / 0.6505 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.005531, allocations: 29.78 kB / 0.6505 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.005678, allocations: 145.1 kB / 0.6507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.005835, allocations: 88.06 kB / 0.6508 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.005871, allocations: 24.36 kB / 0.6508 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.006081, allocations: 125.6 kB / 0.6509 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.006165, allocations: 96.59 kB / 0.651 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.006244, allocations: 72.14 kB / 0.6511 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.006684, allocations: 401.6 kB / 0.6514 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.006688, allocations: 1.25 kB / 0.6514 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.153e-06/0.006689, allocations: 0 / 0.6514 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.006696, allocations: 0 / 0.6514 GB, free: 25.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000675/0.00737, allocations: 0.519 MB / 0.652 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.007421, allocations: 10.91 kB / 0.652 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.007475, allocations: 54.73 kB / 0.652 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.007628, allocations: 44.97 kB / 0.6521 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.00789, allocations: 218.1 kB / 0.6523 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.007916, allocations: 15.28 kB / 0.6523 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.007937, allocations: 16.88 kB / 0.6523 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.008313, allocations: 375.2 kB / 0.6527 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.008326, allocations: 0 / 0.6527 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.008349, allocations: 9.719 kB / 0.6527 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.008361, allocations: 9 kB / 0.6527 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.00903, allocations: 0.6927 MB / 0.6534 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008592/0.009889, allocations: 0.577 MB / 0.6539 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.01026, allocations: 287.8 kB / 0.6542 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.01038, allocations: 104.5 kB / 0.6543 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.01042, allocations: 17.47 kB / 0.6543 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.01071, allocations: 235.9 kB / 0.6545 GB, free: 23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.01071, allocations: 4 kB / 0.6545 GB, free: 23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0005381/0.01125, allocations: 378.7 kB / 0.6549 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.01129, allocations: 140.2 kB / 0.655 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.01152, allocations: 316.5 kB / 0.6553 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.01154, allocations: 36.23 kB / 0.6554 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.0116, allocations: 135.8 kB / 0.6555 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.01165, allocations: 117.7 kB / 0.6556 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.01173, allocations: 65.88 kB / 0.6557 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.01178, allocations: 338.8 kB / 0.656 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01188, allocations: 81.36 kB / 0.6561 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.01203, allocations: 218 kB / 0.6563 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.01228, allocations: 212.8 kB / 0.6565 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01229, allocations: 0 / 0.6565 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004634/0.01275, allocations: 287.1 kB / 0.6568 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.01277, allocations: 5.156 kB / 0.6568 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01278, allocations: 0 / 0.6568 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.0128, allocations: 2.406 kB / 0.6568 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.01299, allocations: 67.56 kB / 0.6568 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.013, allocations: 5.438 kB / 0.6568 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.0131, allocations: 30.2 kB / 0.6569 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01312, allocations: 8.531 kB / 0.6569 GB, free: 21.31 MB / 0.5105 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 (36): * Single equations (assignments): 36 * 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.0001747/0.01329, allocations: 167.4 kB / 0.657 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.01337, allocations: 33.45 kB / 0.6571 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005933/0.01396, allocations: 387.8 kB / 0.6574 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.01397, allocations: 3.812 kB / 0.6574 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.01398, allocations: 3.938 kB / 0.6574 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.01399, allocations: 0 / 0.6574 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.01422, allocations: 286.8 kB / 0.6577 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01422, allocations: 3.984 kB / 0.6577 GB, free: 20.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01434, allocations: 53.58 kB / 0.6578 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01434, allocations: 6.266 kB / 0.6578 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.01436, allocations: 8.531 kB / 0.6578 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01436, allocations: 1.188 kB / 0.6578 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01436, allocations: 7.938 kB / 0.6578 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.0148, allocations: 334.5 kB / 0.6581 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.0149, allocations: 71.06 kB / 0.6582 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01493, allocations: 9.531 kB / 0.6582 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.01502, allocations: 24.09 kB / 0.6582 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.01512, allocations: 30.3 kB / 0.6582 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.01518, allocations: 17.36 kB / 0.6583 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002079/0.01538, allocations: 247.1 kB / 0.6585 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01538, allocations: 0 / 0.6585 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000322/0.01571, allocations: 79.28 kB / 0.6586 GB, free: 20.18 MB / 0.5105 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 (35): * Single equations (assignments): 34 * 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.001253/0.01696, allocations: 1.245 MB / 0.6598 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.01727, allocations: 221.9 kB / 0.66 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01727, allocations: 1.219 kB / 0.66 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01741, allocations: 123.9 kB / 0.6601 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.01763, allocations: 51.61 kB / 0.6602 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.01935, allocations: 2.572 MB / 0.6627 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.8e-05/0.01943, allocations: 163.2 kB / 0.6628 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.01961, allocations: 147 kB / 0.663 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.01969, allocations: 104.4 kB / 0.6631 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.01969, allocations: 0 / 0.6631 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.04089, allocations: 7.374 MB / 0.6703 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.03, allocations: 7.25 kB / 0.6703 GB, free: 8.957 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.87388838455081] Failed to read output from testmodel.py, exit status != 0: 8.16549285966903 8.173237716 8.164433545 Calling exit ...