Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001447/0.001447, allocations: 110.8 kB / 16.41 MB, free: 6.5 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.001592/0.001592, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7468/0.7468, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.06 kB / 0.568 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 77.92 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002673/0.1273, allocations: 1.626 MB / 0.6457 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1289, allocations: 1.165 MB / 0.6468 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.129, allocations: 0 / 0.6468 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1292, allocations: 27.78 kB / 0.6468 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1295, allocations: 63.69 kB / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1299, allocations: 131.2 kB / 0.647 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1302, allocations: 241.6 kB / 0.6472 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1303, allocations: 16.52 kB / 0.6473 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.1304, allocations: 87.69 kB / 0.6473 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1307, allocations: 91.77 kB / 0.6474 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.1307, allocations: 20 kB / 0.6474 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1309, allocations: 75.97 kB / 0.6475 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.131, allocations: 79.8 kB / 0.6476 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1311, allocations: 107.3 kB / 0.6477 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.1314, allocations: 282.8 kB / 0.648 GB, free: 5.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1314, allocations: 4 kB / 0.648 GB, free: 5.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1314, allocations: 0 / 0.648 GB, free: 5.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1314, allocations: 0 / 0.648 GB, free: 5.496 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000757/0.1322, allocations: 0.5418 MB / 0.6485 GB, free: 4.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1322, allocations: 12.62 kB / 0.6485 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.1323, allocations: 46.73 kB / 0.6486 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.1324, allocations: 24.8 kB / 0.6486 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1327, allocations: 271.8 kB / 0.6488 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1327, allocations: 16.38 kB / 0.6489 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.1327, allocations: 16.38 kB / 0.6489 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1331, allocations: 220.7 kB / 0.6491 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1331, allocations: 0 / 0.6491 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.1331, allocations: 7.938 kB / 0.6491 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1331, allocations: 4 kB / 0.6491 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.134, allocations: 0.7373 MB / 0.6498 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.1348, allocations: 0.5706 MB / 0.6504 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.1353, allocations: 299.6 kB / 0.6507 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1355, allocations: 101.4 kB / 0.6508 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.1355, allocations: 24.25 kB / 0.6508 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.1359, allocations: 184.8 kB / 0.651 GB, free: 2.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.684e-06/0.1359, allocations: 0 / 0.651 GB, free: 2.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006451/0.1365, allocations: 365.2 kB / 0.6513 GB, free: 1.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.1366, allocations: 136.5 kB / 0.6514 GB, free: 1.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1369, allocations: 300 kB / 0.6517 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1369, allocations: 33.7 kB / 0.6517 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.137, allocations: 124.8 kB / 0.6519 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/0.1371, allocations: 123 kB / 0.652 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.1372, allocations: 61.69 kB / 0.652 GB, free: 1.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1373, allocations: 338.8 kB / 0.6524 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1375, allocations: 79.95 kB / 0.6524 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.1377, allocations: 127.2 kB / 0.6526 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.138, allocations: 213.2 kB / 0.6528 GB, free: 304 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.138, allocations: 3.938 kB / 0.6528 GB, free: 300 kB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004214/0.1384, allocations: 289.1 kB / 0.653 GB, free: 4 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1385, allocations: 5.25 kB / 0.6531 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1385, allocations: 0 / 0.6531 GB, free: 0 / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.1385, allocations: 4.047 kB / 0.6531 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1387, allocations: 59.91 kB / 0.6531 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1388, allocations: 4 kB / 0.6531 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1389, allocations: 31.75 kB / 0.6531 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1389, allocations: 8 kB / 0.6532 GB, free: 15.89 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 (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.0001521/0.1391, allocations: 165.7 kB / 0.6533 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.1392, allocations: 35.75 kB / 0.6533 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.1398, allocations: 377.7 kB / 0.6537 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1399, allocations: 4 kB / 0.6537 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1399, allocations: 3.984 kB / 0.6537 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1399, allocations: 3.938 kB / 0.6537 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.1402, allocations: 329.4 kB / 0.654 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1402, allocations: 0 / 0.654 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1404, allocations: 55.91 kB / 0.6541 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1404, allocations: 0 / 0.6541 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.1404, allocations: 11.98 kB / 0.6541 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1404, allocations: 4 kB / 0.6541 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1404, allocations: 0 / 0.6541 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.1409, allocations: 338 kB / 0.6544 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.141, allocations: 140.8 kB / 0.6546 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.1411, allocations: 4 kB / 0.6546 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1412, allocations: 15.98 kB / 0.6546 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.1413, allocations: 23.91 kB / 0.6546 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.1413, allocations: 12 kB / 0.6546 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001952/0.1415, allocations: 237.6 kB / 0.6548 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1415, allocations: 4 kB / 0.6548 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002911/0.1418, allocations: 55.94 kB / 0.6549 GB, free: 14.01 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 (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.001496/0.1433, allocations: 1.158 MB / 0.656 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.1437, allocations: 236.3 kB / 0.6562 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1437, allocations: 4 kB / 0.6563 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1439, allocations: 131.8 kB / 0.6564 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.1442, allocations: 32.59 kB / 0.6564 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.1469, allocations: 2.457 MB / 0.6588 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1472, allocations: 0.7613 MB / 0.6596 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.1475, allocations: 138.9 kB / 0.6597 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.1476, allocations: 95.39 kB / 0.6598 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/0.1477, allocations: 0 / 0.6598 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.1694, allocations: 5.482 MB / 0.6651 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.726, allocations: 7.672 kB / 0.6651 GB, free: 3.66 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)