Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008666/0.0008667, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008884/0.0008884, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9616/0.9616, allocations: 143.3 MB / 434.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 8 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 83.41 MB / 0.5974 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001747/0.1583, allocations: 1.304 MB / 0.5986 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1598, allocations: 1.07 MB / 0.5997 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1598, allocations: 0 / 0.5997 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.16, allocations: 19.86 kB / 0.5997 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1602, allocations: 51.81 kB / 0.5997 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1606, allocations: 119.3 kB / 0.5999 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1608, allocations: 137.8 kB / 0.6 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.1609, allocations: 16 kB / 0.6 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.1609, allocations: 63.83 kB / 0.6001 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1611, allocations: 63.8 kB / 0.6001 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1612, allocations: 8 kB / 0.6001 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1613, allocations: 55.91 kB / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.406e-05/0.1614, allocations: 63.81 kB / 0.6003 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.1614, allocations: 57.58 kB / 0.6003 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1617, allocations: 199.8 kB / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1617, allocations: 0 / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1617, allocations: 4 kB / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.1617, allocations: 0 / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006912/0.1624, allocations: 491.4 kB / 0.601 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1624, allocations: 8.031 kB / 0.601 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.1625, allocations: 54.55 kB / 0.601 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.1626, allocations: 27.72 kB / 0.6011 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1628, allocations: 258.5 kB / 0.6013 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1629, allocations: 15.94 kB / 0.6013 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1629, allocations: 16 kB / 0.6013 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.1632, allocations: 214.6 kB / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1633, allocations: 0 / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.1633, allocations: 7.984 kB / 0.6015 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1633, allocations: 4 kB / 0.6015 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.1642, allocations: 0.7295 MB / 0.6023 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/0.165, allocations: 0.5668 MB / 0.6028 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.1655, allocations: 295.6 kB / 0.6031 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.1655, allocations: 16.25 kB / 0.6031 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.1659, allocations: 178.5 kB / 0.6033 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 3.166e-06/0.1659, allocations: 0 / 0.6033 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006132/0.1665, allocations: 373 kB / 0.6036 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.1666, allocations: 132.5 kB / 0.6038 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.1669, allocations: 301.2 kB / 0.6041 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.1669, allocations: 33.7 kB / 0.6041 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.167, allocations: 120.8 kB / 0.6042 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.507e-05/0.1671, allocations: 114.3 kB / 0.6043 GB, free: 396 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.1671, allocations: 11.94 kB / 0.6043 GB, free: 384 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1672, allocations: 338.8 kB / 0.6046 GB, free: 36 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2585/0.4258, allocations: 76.28 kB / 0.6047 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.426, allocations: 121 kB / 0.6048 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4262, allocations: 110.5 kB / 0.6049 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4262, allocations: 0 / 0.6049 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000372/0.4266, allocations: 278.1 kB / 0.6052 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4266, allocations: 6.656 kB / 0.6052 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4266, allocations: 0 / 0.6052 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4266, allocations: 3.688 kB / 0.6052 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.4268, allocations: 64.16 kB / 0.6053 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4269, allocations: 3.734 kB / 0.6053 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.427, allocations: 31.14 kB / 0.6053 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.427, allocations: 11.41 kB / 0.6053 GB, free: 40.41 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 ($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.0001316/0.4272, allocations: 160.7 kB / 0.6055 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.4272, allocations: 26 kB / 0.6055 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.4278, allocations: 386.4 kB / 0.6059 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4278, allocations: 2.969 kB / 0.6059 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4278, allocations: 0 / 0.6059 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4278, allocations: 1.531 kB / 0.6059 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.4282, allocations: 327.8 kB / 0.6062 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4282, allocations: 0.5625 kB / 0.6062 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.4285, allocations: 58.72 kB / 0.6062 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4285, allocations: 4.656 kB / 0.6062 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4285, allocations: 11.34 kB / 0.6063 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4285, allocations: 0.75 kB / 0.6063 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4286, allocations: 3.953 kB / 0.6063 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.4291, allocations: 326.1 kB / 0.6066 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.4293, allocations: 143 kB / 0.6067 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.4294, allocations: 7.062 kB / 0.6067 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.4296, allocations: 16.22 kB / 0.6067 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.4297, allocations: 25.7 kB / 0.6067 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.4298, allocations: 15.73 kB / 0.6068 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002413/0.43, allocations: 232.8 kB / 0.607 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.43, allocations: 0 / 0.607 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004815/0.4305, allocations: 59.14 kB / 0.607 GB, free: 39.79 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 (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.001954/0.4325, allocations: 1.156 MB / 0.6082 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.433, allocations: 225 kB / 0.6084 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.433, allocations: 8.109 kB / 0.6084 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.4333, allocations: 127.1 kB / 0.6085 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.4335, allocations: 27.72 kB / 0.6085 GB, free: 39.13 MB / 0.4981 GB 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.001659/0.4352, allocations: 1.442 MB / 0.6099 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.4354, allocations: 0.7639 MB / 0.6107 GB, free: 37.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.4356, allocations: 142 kB / 0.6108 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4357, allocations: 95.31 kB / 0.6109 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.4357, allocations: 0 / 0.6109 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3009/0.7366, allocations: 5.353 MB / 0.6161 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.7368, allocations: 256.4 kB / 0.6164 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.426, allocations: 7.5 kB / 0.6164 GB, free: 37.12 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) Environment - environmentSimulation: