Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_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.004948/0.004948, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001486/0.001486, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 294.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 178.6 MB / 0.5074 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002692, allocations: 103.8 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3499, allocations: 89.12 MB / 0.7813 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002394/0.3524, allocations: 1.652 MB / 0.783 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.354, allocations: 1.166 MB / 0.7841 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.3541, allocations: 1.25 kB / 0.7841 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3543, allocations: 31.59 kB / 0.7841 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.3546, allocations: 61.95 kB / 0.7842 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.3549, allocations: 134.8 kB / 0.7843 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.3552, allocations: 234.5 kB / 0.7845 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.3553, allocations: 22.66 kB / 0.7846 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.3554, allocations: 79.31 kB / 0.7846 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.3556, allocations: 96.23 kB / 0.7847 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.3557, allocations: 16.59 kB / 0.7847 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3558, allocations: 72.05 kB / 0.7848 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.3559, allocations: 80.95 kB / 0.7849 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.356, allocations: 108.3 kB / 0.785 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.3564, allocations: 283.7 kB / 0.7853 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3564, allocations: 0 / 0.7853 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3564, allocations: 1.125 kB / 0.7853 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3564, allocations: 0 / 0.7853 GB, free: 14.21 MB / 0.5606 GB 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.0007866/0.3572, allocations: 0.5381 MB / 0.7858 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3572, allocations: 9.969 kB / 0.7858 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.025e-05/0.3573, allocations: 53.23 kB / 0.7858 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.3574, allocations: 25.7 kB / 0.7859 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3577, allocations: 268.3 kB / 0.7861 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.3577, allocations: 25.91 kB / 0.7862 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3578, allocations: 14.97 kB / 0.7862 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3581, allocations: 209.8 kB / 0.7864 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3581, allocations: 0 / 0.7864 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3582, allocations: 10.59 kB / 0.7864 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3582, allocations: 3.531 kB / 0.7864 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.3591, allocations: 0.7386 MB / 0.7871 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.3599, allocations: 0.5654 MB / 0.7877 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.3604, allocations: 300.3 kB / 0.7879 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3606, allocations: 110.8 kB / 0.788 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.3606, allocations: 24.97 kB / 0.7881 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.3609, allocations: 176.2 kB / 0.7882 GB, free: 12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3609, allocations: 0 / 0.7882 GB, free: 12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0006775/0.3616, allocations: 368.1 kB / 0.7886 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.3617, allocations: 132.9 kB / 0.7887 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.362, allocations: 304 kB / 0.789 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3621, allocations: 39.98 kB / 0.789 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.3622, allocations: 128.8 kB / 0.7892 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3623, allocations: 110.2 kB / 0.7893 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.3624, allocations: 69 kB / 0.7893 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3625, allocations: 338.3 kB / 0.7897 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3627, allocations: 80.83 kB / 0.7897 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3629, allocations: 123.4 kB / 0.7899 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.3632, allocations: 215.7 kB / 0.7901 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3632, allocations: 0 / 0.7901 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004472/0.3637, allocations: 280.3 kB / 0.7903 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3637, allocations: 12.31 kB / 0.7903 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3637, allocations: 1.25 kB / 0.7903 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3637, allocations: 5.344 kB / 0.7903 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3639, allocations: 55.62 kB / 0.7904 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.364, allocations: 1.219 kB / 0.7904 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3641, allocations: 35.5 kB / 0.7904 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3641, allocations: 13.34 kB / 0.7904 GB, free: 10.42 MB / 0.5606 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.0001623/0.3643, allocations: 157.6 kB / 0.7906 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.3644, allocations: 32.39 kB / 0.7906 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.3651, allocations: 385 kB / 0.791 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3651, allocations: 10.91 kB / 0.791 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3651, allocations: 1.75 kB / 0.791 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3651, allocations: 3.938 kB / 0.791 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.3655, allocations: 327.8 kB / 0.7913 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3655, allocations: 0 / 0.7913 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3657, allocations: 60.66 kB / 0.7914 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3657, allocations: 1.156 kB / 0.7914 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3657, allocations: 8.375 kB / 0.7914 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3657, allocations: 2.156 kB / 0.7914 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3657, allocations: 0 / 0.7914 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.3662, allocations: 328.3 kB / 0.7917 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3663, allocations: 138.2 kB / 0.7918 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.3664, allocations: 6.781 kB / 0.7918 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3665, allocations: 24.78 kB / 0.7919 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3666, allocations: 24.34 kB / 0.7919 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.3666, allocations: 17.17 kB / 0.7919 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002118/0.3669, allocations: 228.3 kB / 0.7921 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3669, allocations: 4 kB / 0.7921 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002826/0.3671, allocations: 60.31 kB / 0.7922 GB, free: 9.191 MB / 0.5606 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.002088/0.3692, allocations: 1.16 MB / 0.7933 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.3697, allocations: 225.7 kB / 0.7935 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3697, allocations: 1.188 kB / 0.7935 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3699, allocations: 133.2 kB / 0.7937 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3701, allocations: 44.11 kB / 0.7937 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.3731, allocations: 2.456 MB / 0.7961 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3735, allocations: 0.7572 MB / 0.7968 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000315/0.3738, allocations: 144.2 kB / 0.797 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.374, allocations: 95.55 kB / 0.7971 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.374, allocations: 1.344 kB / 0.7971 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.403, allocations: 5.488 MB / 0.8024 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.242, allocations: 13.39 kB / 0.8024 GB, free: 2.746 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)