Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 109.4 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7455/0.7455, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.002381, allocations: 59.66 kB / 0.568 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2038, allocations: 77.93 MB / 0.6441 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003097/0.2069, allocations: 1.877 MB / 0.6459 GB, free: 7.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2091, allocations: 1.569 MB / 0.6474 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.2092, allocations: 0 / 0.6474 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.2094, allocations: 31.8 kB / 0.6475 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.2097, allocations: 79.53 kB / 0.6475 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.2102, allocations: 167.6 kB / 0.6477 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.2105, allocations: 293.2 kB / 0.648 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2107, allocations: 41.31 kB / 0.648 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.2108, allocations: 91.81 kB / 0.6481 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.211, allocations: 111.6 kB / 0.6482 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.2111, allocations: 20 kB / 0.6482 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.2112, allocations: 83.97 kB / 0.6483 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.2114, allocations: 91.67 kB / 0.6484 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2115, allocations: 119.3 kB / 0.6485 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.2119, allocations: 334.6 kB / 0.6488 GB, free: 4.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2119, allocations: 0 / 0.6488 GB, free: 4.793 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2119, allocations: 4 kB / 0.6488 GB, free: 4.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2119, allocations: 0 / 0.6488 GB, free: 4.789 MB / 494.1 MB 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.0008079/0.2127, allocations: 0.5651 MB / 0.6494 GB, free: 4.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2128, allocations: 8.625 kB / 0.6494 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.2128, allocations: 58.72 kB / 0.6495 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.213, allocations: 32.75 kB / 0.6495 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.2133, allocations: 274.9 kB / 0.6497 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2133, allocations: 12.38 kB / 0.6498 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.2134, allocations: 23.88 kB / 0.6498 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.2138, allocations: 244.9 kB / 0.65 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2138, allocations: 0 / 0.65 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.2138, allocations: 4 kB / 0.65 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.2138, allocations: 8 kB / 0.65 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.2147, allocations: 0.7528 MB / 0.6508 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.2157, allocations: 0.641 MB / 0.6514 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2162, allocations: 309.9 kB / 0.6517 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.2163, allocations: 113.4 kB / 0.6518 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.2164, allocations: 16.25 kB / 0.6518 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.2167, allocations: 183.4 kB / 0.652 GB, free: 1.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.614e-06/0.2167, allocations: 0 / 0.652 GB, free: 1.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006456/0.2174, allocations: 377 kB / 0.6523 GB, free: 1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.2175, allocations: 136.5 kB / 0.6525 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.2178, allocations: 309 kB / 0.6528 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.2178, allocations: 29.7 kB / 0.6528 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.2179, allocations: 140.7 kB / 0.6529 GB, free: 360 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.218, allocations: 119 kB / 0.653 GB, free: 240 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.2181, allocations: 69.69 kB / 0.6531 GB, free: 164 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2182, allocations: 338.8 kB / 0.6534 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2184, allocations: 79.95 kB / 0.6535 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2186, allocations: 136.3 kB / 0.6536 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.2189, allocations: 208.7 kB / 0.6538 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2189, allocations: 0 / 0.6538 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004377/0.2193, allocations: 293.6 kB / 0.6541 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2194, allocations: 11.94 kB / 0.6541 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2194, allocations: 4 kB / 0.6541 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2194, allocations: 4 kB / 0.6541 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2196, allocations: 63.91 kB / 0.6542 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2196, allocations: 0 / 0.6542 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.2198, allocations: 23.88 kB / 0.6542 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2198, allocations: 16 kB / 0.6542 GB, free: 14.98 MB / 0.4981 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.0001517/0.22, allocations: 161.7 kB / 0.6544 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.22, allocations: 39.75 kB / 0.6544 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/0.2207, allocations: 372.8 kB / 0.6548 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2207, allocations: 8 kB / 0.6548 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2207, allocations: 0 / 0.6548 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2207, allocations: 0 / 0.6548 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.221, allocations: 349.3 kB / 0.6551 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2211, allocations: 4 kB / 0.6551 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2212, allocations: 55.91 kB / 0.6552 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2212, allocations: 7.875 kB / 0.6552 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2213, allocations: 12 kB / 0.6552 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2213, allocations: 3.984 kB / 0.6552 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2213, allocations: 0 / 0.6552 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.2217, allocations: 330.1 kB / 0.6555 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2219, allocations: 152.7 kB / 0.6557 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.2219, allocations: 15.92 kB / 0.6557 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.2221, allocations: 19.98 kB / 0.6557 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2222, allocations: 23.97 kB / 0.6557 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.2222, allocations: 19.98 kB / 0.6557 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002004/0.2224, allocations: 240.4 kB / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2225, allocations: 4 kB / 0.656 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002997/0.2228, allocations: 63.94 kB / 0.656 GB, free: 13.02 MB / 0.4981 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.001536/0.2243, allocations: 1.152 MB / 0.6572 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.2247, allocations: 236.1 kB / 0.6574 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2247, allocations: 4 kB / 0.6574 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.2249, allocations: 135.8 kB / 0.6575 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2252, allocations: 37.17 kB / 0.6576 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.2279, allocations: 2.522 MB / 0.66 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2283, allocations: 0.7653 MB / 0.6608 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.2286, allocations: 151 kB / 0.6609 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2288, allocations: 98.27 kB / 0.661 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2288, allocations: 0 / 0.661 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.2531, allocations: 6.021 MB / 0.6669 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.923, allocations: 11.97 kB / 0.6669 GB, free: 2.059 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)