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.00121/0.00121, allocations: 99.19 kB / 16.4 MB, free: 6.504 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.00146/0.00146, allocations: 185.6 kB / 17.34 MB, free: 5.77 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002217/0.002217, allocations: 288.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5365, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003019/0.5396, allocations: 1.637 MB / 0.7687 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.5414, allocations: 1.173 MB / 0.7698 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.5415, allocations: 3.938 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.5417, allocations: 19.86 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.5421, allocations: 75.67 kB / 0.7699 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.5424, allocations: 129.5 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.5427, allocations: 233.6 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.5428, allocations: 20.2 kB / 0.7703 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.5429, allocations: 79.81 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.5431, allocations: 99.7 kB / 0.7704 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.5432, allocations: 20 kB / 0.7705 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.5433, allocations: 75.97 kB / 0.7705 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.5434, allocations: 75.81 kB / 0.7706 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.5436, allocations: 103.3 kB / 0.7707 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.5439, allocations: 291.1 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5439, allocations: 0 / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5439, allocations: 3.938 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.544, allocations: 0 / 0.771 GB, free: 15.91 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.0008751/0.5448, allocations: 0.5291 MB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5449, allocations: 12.03 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.545, allocations: 24.66 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.5453, allocations: 263.7 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5453, allocations: 12.38 kB / 0.7718 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5453, allocations: 16.38 kB / 0.7718 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.5457, allocations: 214.1 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5457, allocations: 7.938 kB / 0.772 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.5457, allocations: 8 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.5457, allocations: 4 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008587/0.5466, allocations: 0.741 MB / 0.7728 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.5474, allocations: 0.5591 MB / 0.7733 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.548, allocations: 303.6 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.5481, allocations: 105.4 kB / 0.7737 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.5482, allocations: 24.19 kB / 0.7737 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.5485, allocations: 168.9 kB / 0.7739 GB, free: 12.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.5485, allocations: 0 / 0.7739 GB, free: 12.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0006721/0.5492, allocations: 381.5 kB / 0.7742 GB, free: 12.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.5493, allocations: 132.5 kB / 0.7744 GB, free: 12.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.5496, allocations: 300 kB / 0.7747 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.5496, allocations: 33.7 kB / 0.7747 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.5497, allocations: 124.7 kB / 0.7748 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.5498, allocations: 110.4 kB / 0.7749 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.5499, allocations: 69.62 kB / 0.775 GB, free: 11.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.5501, allocations: 342.8 kB / 0.7753 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.5503, allocations: 79.94 kB / 0.7754 GB, free: 11.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.5505, allocations: 123.4 kB / 0.7755 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.5508, allocations: 219 kB / 0.7757 GB, free: 10.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5508, allocations: 0 / 0.7757 GB, free: 10.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004301/0.5513, allocations: 282.2 kB / 0.776 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5513, allocations: 8 kB / 0.776 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5513, allocations: 0 / 0.776 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5513, allocations: 0 / 0.776 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.5515, allocations: 59.91 kB / 0.776 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5516, allocations: 0 / 0.776 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5517, allocations: 27.77 kB / 0.7761 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.5518, allocations: 20 kB / 0.7761 GB, free: 10.41 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.0001686/0.5519, allocations: 164.1 kB / 0.7762 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.552, allocations: 27.62 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.5527, allocations: 376.5 kB / 0.7766 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5527, allocations: 4 kB / 0.7766 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5527, allocations: 0 / 0.7766 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5527, allocations: 7.938 kB / 0.7766 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.553, allocations: 329.2 kB / 0.777 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.553, allocations: 0 / 0.777 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.5532, allocations: 63.91 kB / 0.777 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5532, allocations: 0 / 0.777 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.5533, allocations: 12 kB / 0.777 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5533, allocations: 0 / 0.777 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5533, allocations: 48 / 0.777 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.5537, allocations: 334.9 kB / 0.7773 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.5539, allocations: 140.7 kB / 0.7775 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.554, allocations: 8 kB / 0.7775 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.5541, allocations: 15.98 kB / 0.7775 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.5542, allocations: 27.97 kB / 0.7775 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.5542, allocations: 19.92 kB / 0.7775 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002067/0.5544, allocations: 225.8 kB / 0.7778 GB, free: 8.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5544, allocations: 0 / 0.7778 GB, free: 8.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002976/0.5547, allocations: 59.89 kB / 0.7778 GB, free: 8.531 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.0009688/0.5557, allocations: 403.7 kB / 0.7782 GB, free: 8.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.5561, allocations: 223.8 kB / 0.7784 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5562, allocations: 4 kB / 0.7784 GB, free: 8.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.5564, allocations: 131.8 kB / 0.7785 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.5566, allocations: 36.62 kB / 0.7786 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.5576, allocations: 0.5378 MB / 0.7791 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5579, allocations: 0.7574 MB / 0.7798 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5581, allocations: 59.34 kB / 0.7799 GB, free: 6.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.5581, allocations: 0 / 0.7799 GB, free: 6.48 MB / 0.545 GB Notification: Performance of Templates: time 0.007855/0.5659, allocations: 4.243 MB / 0.784 GB, free: 2.25 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)