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.0008761/0.0008761, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 177.2 kB / 16.58 MB, free: 6.855 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.44/1.44, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6255/0.6255, allocations: 113.7 MB / 405.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 8 kB / 493.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001723/0.1388, allocations: 1.325 MB / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1402, allocations: 1.093 MB / 0.5593 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.1402, allocations: 4 kB / 0.5593 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1404, allocations: 11.92 kB / 0.5593 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1406, allocations: 55.77 kB / 0.5593 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1409, allocations: 115.8 kB / 0.5594 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1411, allocations: 201.6 kB / 0.5596 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.1412, allocations: 20.22 kB / 0.5596 GB, free: 8.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.1413, allocations: 67.83 kB / 0.5597 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1415, allocations: 79.77 kB / 0.5598 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1415, allocations: 8 kB / 0.5598 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1416, allocations: 63.97 kB / 0.5599 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.1417, allocations: 75.73 kB / 0.5599 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.1418, allocations: 57.52 kB / 0.56 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.142, allocations: 199.9 kB / 0.5602 GB, free: 8.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.142, allocations: 4 kB / 0.5602 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.142, allocations: 4 kB / 0.5602 GB, free: 8.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.142, allocations: 0 / 0.5602 GB, free: 8.305 MB / 430.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.000604/0.1426, allocations: 495.4 kB / 0.5607 GB, free: 7.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1427, allocations: 8.031 kB / 0.5607 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.1427, allocations: 46.55 kB / 0.5607 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1428, allocations: 31.66 kB / 0.5607 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.143, allocations: 254.5 kB / 0.561 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1431, allocations: 8 kB / 0.561 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1431, allocations: 20 kB / 0.561 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.1434, allocations: 217.3 kB / 0.5612 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1434, allocations: 0 / 0.5612 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1435, allocations: 4 kB / 0.5612 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1435, allocations: 4 kB / 0.5612 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.1443, allocations: 0.7418 MB / 0.5619 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.145, allocations: 0.5706 MB / 0.5625 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.1454, allocations: 291.6 kB / 0.5628 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1456, allocations: 105.4 kB / 0.5629 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.1456, allocations: 20.25 kB / 0.5629 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.1459, allocations: 172.9 kB / 0.5631 GB, free: 5.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.1459, allocations: 0 / 0.5631 GB, free: 5.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005767/0.1465, allocations: 369.1 kB / 0.5634 GB, free: 4.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1466, allocations: 136.5 kB / 0.5635 GB, free: 4.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.1469, allocations: 297 kB / 0.5638 GB, free: 4.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1469, allocations: 29.7 kB / 0.5639 GB, free: 4.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.147, allocations: 124.7 kB / 0.564 GB, free: 4.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/0.1471, allocations: 114.5 kB / 0.5641 GB, free: 4.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1471, allocations: 4 kB / 0.5641 GB, free: 4.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1472, allocations: 342.8 kB / 0.5644 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1473, allocations: 79.95 kB / 0.5645 GB, free: 3.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.1475, allocations: 119.4 kB / 0.5646 GB, free: 3.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1477, allocations: 100.8 kB / 0.5647 GB, free: 3.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1477, allocations: 0 / 0.5647 GB, free: 3.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003741/0.1481, allocations: 283.1 kB / 0.565 GB, free: 3.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1481, allocations: 8 kB / 0.565 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1481, allocations: 3.984 kB / 0.565 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1481, allocations: 0 / 0.565 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.1483, allocations: 67.89 kB / 0.5651 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1483, allocations: 3.938 kB / 0.5651 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.1485, allocations: 31.69 kB / 0.5651 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1485, allocations: 11.98 kB / 0.5651 GB, free: 2.996 MB / 430.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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1486, allocations: 173.6 kB / 0.5653 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1487, allocations: 23.72 kB / 0.5653 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.1493, allocations: 384.3 kB / 0.5657 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1493, allocations: 4 kB / 0.5657 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1493, allocations: 0 / 0.5657 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1493, allocations: 3.984 kB / 0.5657 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.1496, allocations: 333.2 kB / 0.566 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1496, allocations: 4 kB / 0.566 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.1498, allocations: 59.91 kB / 0.566 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1498, allocations: 0 / 0.566 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1498, allocations: 12.03 kB / 0.566 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1498, allocations: 4 kB / 0.5661 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1498, allocations: 3.984 kB / 0.5661 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.1503, allocations: 323.1 kB / 0.5664 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1504, allocations: 144.7 kB / 0.5665 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.1504, allocations: 12 kB / 0.5665 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1506, allocations: 15.98 kB / 0.5665 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.1506, allocations: 23.97 kB / 0.5666 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1506, allocations: 11.98 kB / 0.5666 GB, free: 1.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1508, allocations: 234.7 kB / 0.5668 GB, free: 1.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1508, allocations: 0 / 0.5668 GB, free: 1.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1511, allocations: 63.98 kB / 0.5668 GB, free: 1.098 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/0.1525, allocations: 1.154 MB / 0.568 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.1529, allocations: 216.7 kB / 0.5682 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1529, allocations: 4 kB / 0.5682 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.1531, allocations: 128.3 kB / 0.5683 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.1533, allocations: 36.59 kB / 0.5683 GB, free: 15.7 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1553, allocations: 1.468 MB / 0.5698 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1556, allocations: 0.7534 MB / 0.5705 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.1559, allocations: 146.8 kB / 0.5707 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.156, allocations: 99.39 kB / 0.5707 GB, free: 13.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.156, allocations: 0 / 0.5707 GB, free: 13.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2137/0.3697, allocations: 5.386 MB / 0.576 GB, free: 7.996 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004461/0.3702, allocations: 248.3 kB / 0.5762 GB, free: 7.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.307, allocations: 0 / 0.5762 GB, free: 7.66 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: