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.0009824/0.0009825, allocations: 105.6 kB / 16.4 MB, free: 6.449 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.00104/0.00104, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.178/1.178, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6433/0.6433, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.3 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1307, allocations: 76.19 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002856/0.1336, allocations: 1.61 MB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1352, allocations: 1.167 MB / 0.6343 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.1353, allocations: 0 / 0.6343 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1355, allocations: 27.78 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1357, allocations: 67.69 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1361, allocations: 130.5 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1364, allocations: 245.6 kB / 0.6348 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.1365, allocations: 19.03 kB / 0.6348 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.1366, allocations: 79.81 kB / 0.6349 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1368, allocations: 98.52 kB / 0.635 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1368, allocations: 16 kB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.137, allocations: 75.97 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.137, allocations: 79.8 kB / 0.6351 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1372, allocations: 107.4 kB / 0.6352 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.1375, allocations: 279 kB / 0.6355 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1375, allocations: 0 / 0.6355 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1375, allocations: 0 / 0.6355 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1375, allocations: 0 / 0.6355 GB, free: 0.8906 MB / 478.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.0006581/0.1382, allocations: 0.5352 MB / 0.636 GB, free: 316 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1383, allocations: 8.031 kB / 0.636 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.1383, allocations: 54.73 kB / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.1384, allocations: 28.66 kB / 0.6361 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1386, allocations: 263.9 kB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1387, allocations: 12.38 kB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.1387, allocations: 16.38 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.139, allocations: 216.7 kB / 0.6366 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.139, allocations: 3.938 kB / 0.6366 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1391, allocations: 4 kB / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1391, allocations: 11.94 kB / 0.6366 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.1398, allocations: 0.7451 MB / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.1407, allocations: 0.5666 MB / 0.6379 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1411, allocations: 304 kB / 0.6382 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1413, allocations: 101.4 kB / 0.6383 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.1414, allocations: 32.23 kB / 0.6383 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.1417, allocations: 168.9 kB / 0.6385 GB, free: 13.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.1417, allocations: 0 / 0.6385 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006247/0.1423, allocations: 377.8 kB / 0.6388 GB, free: 13.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.1424, allocations: 132.5 kB / 0.639 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.1427, allocations: 300 kB / 0.6392 GB, free: 12.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1427, allocations: 33.7 kB / 0.6393 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.1428, allocations: 124.8 kB / 0.6394 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.1429, allocations: 118.3 kB / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.143, allocations: 61.69 kB / 0.6396 GB, free: 12.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1431, allocations: 338.8 kB / 0.6399 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1432, allocations: 79.95 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1434, allocations: 120.6 kB / 0.6401 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1437, allocations: 221 kB / 0.6403 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1437, allocations: 4 kB / 0.6403 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003962/0.1441, allocations: 277.1 kB / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1442, allocations: 7.984 kB / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1442, allocations: 0 / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1442, allocations: 0 / 0.6406 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.1444, allocations: 59.91 kB / 0.6406 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1444, allocations: 4 kB / 0.6406 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1445, allocations: 31.77 kB / 0.6407 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.1446, allocations: 8 kB / 0.6407 GB, free: 11.3 MB / 494.1 MB 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.0001568/0.1447, allocations: 165.8 kB / 0.6408 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.1448, allocations: 27.62 kB / 0.6408 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.1455, allocations: 376.5 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1455, allocations: 4 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1455, allocations: 0 / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1455, allocations: 3.938 kB / 0.6412 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.1458, allocations: 325.3 kB / 0.6415 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1458, allocations: 3.984 kB / 0.6415 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.146, allocations: 63.86 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.146, allocations: 0 / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1461, allocations: 11.98 kB / 0.6416 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1461, allocations: 7.938 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1461, allocations: 4.047 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.1465, allocations: 326.2 kB / 0.6419 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.1467, allocations: 140.7 kB / 0.6421 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.1467, allocations: 8 kB / 0.6421 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1468, allocations: 15.98 kB / 0.6421 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1469, allocations: 23.91 kB / 0.6421 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1469, allocations: 12 kB / 0.6421 GB, free: 9.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1471, allocations: 237.6 kB / 0.6423 GB, free: 9.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1471, allocations: 0 / 0.6423 GB, free: 9.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1474, allocations: 63.84 kB / 0.6424 GB, free: 9.418 MB / 494.1 MB 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.001422/0.1488, allocations: 1.137 MB / 0.6435 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.1492, allocations: 235.9 kB / 0.6437 GB, free: 8.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1493, allocations: 3.938 kB / 0.6437 GB, free: 8.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1494, allocations: 131.8 kB / 0.6439 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.1497, allocations: 53.92 kB / 0.6439 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.1523, allocations: 2.45 MB / 0.6463 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1526, allocations: 0.7652 MB / 0.6471 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.1529, allocations: 142.9 kB / 0.6472 GB, free: 4.527 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.153, allocations: 95.39 kB / 0.6473 GB, free: 4.434 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.153, allocations: 0 / 0.6473 GB, free: 4.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.1762, allocations: 5.545 MB / 0.6527 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.339, allocations: 12.92 kB / 0.6527 GB, free: 15 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)