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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001844/0.001844, allocations: 184 kB / 17.34 MB, free: 5.738 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002612/0.002612, allocations: 296.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 96.27 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4191, allocations: 86.99 MB / 0.7671 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003565/0.4227, allocations: 1.622 MB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.4247, allocations: 1.167 MB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.4247, allocations: 8 kB / 0.7698 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.425, allocations: 27.83 kB / 0.7698 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.4253, allocations: 67.62 kB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.4257, allocations: 130.6 kB / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.426, allocations: 237.5 kB / 0.7702 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4261, allocations: 15.89 kB / 0.7703 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4262, allocations: 79.81 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.4265, allocations: 91.78 kB / 0.7704 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.4265, allocations: 20 kB / 0.7704 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.4267, allocations: 75.95 kB / 0.7705 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.4268, allocations: 79.81 kB / 0.7706 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.4269, allocations: 107.3 kB / 0.7707 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.4273, allocations: 288.8 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4273, allocations: 0 / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4273, allocations: 0 / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4273, allocations: 3.938 kB / 0.771 GB, free: 15.79 MB / 0.545 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.000875/0.4282, allocations: 0.5378 MB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4282, allocations: 8.031 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.4283, allocations: 36.69 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.4286, allocations: 267.8 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4286, allocations: 20.36 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.4287, allocations: 16.38 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.429, allocations: 218 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.429, allocations: 4 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.4291, allocations: 12 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4291, allocations: 4 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.43, allocations: 0.7332 MB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.4309, allocations: 0.567 MB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.4314, allocations: 279.6 kB / 0.7736 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.4316, allocations: 97.38 kB / 0.7737 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.4316, allocations: 20.25 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.432, allocations: 176.9 kB / 0.7739 GB, free: 12.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.4321, allocations: 0 / 0.7739 GB, free: 12.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0007702/0.4328, allocations: 373.8 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.4329, allocations: 132.5 kB / 0.7744 GB, free: 12.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.4333, allocations: 300 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.4333, allocations: 33.7 kB / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.4334, allocations: 124.7 kB / 0.7748 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.4336, allocations: 123 kB / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.4337, allocations: 61.69 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4339, allocations: 342.8 kB / 0.7753 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.434, allocations: 79.95 kB / 0.7754 GB, free: 11.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.4342, allocations: 123.4 kB / 0.7755 GB, free: 10.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.4346, allocations: 222.9 kB / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4346, allocations: 0 / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005117/0.4351, allocations: 278.3 kB / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4351, allocations: 8 kB / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4351, allocations: 0 / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4351, allocations: 0 / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.4354, allocations: 63.91 kB / 0.776 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4354, allocations: 3.984 kB / 0.776 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.4356, allocations: 27.77 kB / 0.7761 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4356, allocations: 19.98 kB / 0.7761 GB, free: 10.27 MB / 0.545 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.0002017/0.4358, allocations: 164.1 kB / 0.7762 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.4359, allocations: 27.81 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.4366, allocations: 372.5 kB / 0.7766 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4366, allocations: 7.938 kB / 0.7766 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4366, allocations: 0 / 0.7766 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4366, allocations: 11.92 kB / 0.7766 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.437, allocations: 329.4 kB / 0.777 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.437, allocations: 0 / 0.777 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.4372, allocations: 59.91 kB / 0.777 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4372, allocations: 4 kB / 0.777 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.4372, allocations: 11.98 kB / 0.777 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4372, allocations: 0 / 0.777 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4372, allocations: 0 / 0.777 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.4377, allocations: 335.1 kB / 0.7774 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.4379, allocations: 140.8 kB / 0.7775 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.4379, allocations: 8 kB / 0.7775 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.438, allocations: 18.94 kB / 0.7775 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.4381, allocations: 24.02 kB / 0.7775 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.4381, allocations: 19.92 kB / 0.7776 GB, free: 8.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002376/0.4384, allocations: 233.8 kB / 0.7778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4384, allocations: 0 / 0.7778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003027/0.4387, allocations: 51.94 kB / 0.7778 GB, free: 8.398 MB / 0.545 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.001452/0.4401, allocations: 410.2 kB / 0.7782 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.4406, allocations: 215.8 kB / 0.7784 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4406, allocations: 4 kB / 0.7784 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.4408, allocations: 119.8 kB / 0.7785 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.441, allocations: 32.66 kB / 0.7786 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.4419, allocations: 0.5003 MB / 0.7791 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4423, allocations: 0.7574 MB / 0.7798 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003347/0.4426, allocations: 150.8 kB / 0.7799 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.4427, allocations: 43.42 kB / 0.78 GB, free: 6.273 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.4427, allocations: 0 / 0.78 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Templates: time 0.007604/0.4503, allocations: 3.032 MB / 0.7829 GB, free: 3.277 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)