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.001559/0.00156, allocations: 106.4 kB / 16.41 MB, free: 6.512 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.001482/0.001482, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.461/1.461, 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.002288/0.002288, allocations: 289.1 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.009/1.009, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 99.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5061, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002904/0.509, allocations: 1.648 MB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.5106, allocations: 1.167 MB / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.5106, allocations: 4 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.5109, allocations: 23.84 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.5112, allocations: 63.64 kB / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.5115, allocations: 141 kB / 0.77 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.5118, allocations: 237.6 kB / 0.7702 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.5119, allocations: 16.23 kB / 0.7703 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.512, allocations: 75.88 kB / 0.7703 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.5122, allocations: 95.7 kB / 0.7704 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.5123, allocations: 16 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.5124, allocations: 79.91 kB / 0.7705 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.5125, allocations: 87.8 kB / 0.7706 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.5126, allocations: 99.39 kB / 0.7707 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.5129, allocations: 283 kB / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5129, allocations: 0 / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.513, allocations: 0 / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.513, allocations: 4 kB / 0.771 GB, free: 15.9 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.0007113/0.5137, allocations: 0.5291 MB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.5137, allocations: 8.031 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.5138, allocations: 24.66 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.5141, allocations: 267.7 kB / 0.7718 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5141, allocations: 16.38 kB / 0.7718 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.5141, allocations: 16.38 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.5145, allocations: 218 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5145, allocations: 0 / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.5145, allocations: 8 kB / 0.772 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5145, allocations: 8 kB / 0.772 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.5154, allocations: 0.7449 MB / 0.7728 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.5161, allocations: 0.5591 MB / 0.7733 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.5166, allocations: 299.6 kB / 0.7736 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.5167, allocations: 105.3 kB / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.5168, allocations: 28.23 kB / 0.7737 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.5171, allocations: 180.8 kB / 0.7739 GB, free: 12.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.5171, allocations: 4 kB / 0.7739 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0006263/0.5178, allocations: 365.6 kB / 0.7742 GB, free: 12.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.5179, allocations: 136.5 kB / 0.7744 GB, free: 12.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.5181, allocations: 296.1 kB / 0.7747 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.5182, allocations: 33.7 kB / 0.7747 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.5182, allocations: 124.7 kB / 0.7748 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.5183, allocations: 114.4 kB / 0.7749 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.5184, allocations: 61.69 kB / 0.775 GB, free: 11.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5186, allocations: 342.8 kB / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.5187, allocations: 79.95 kB / 0.7754 GB, free: 11.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.5189, allocations: 127.3 kB / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.5192, allocations: 215 kB / 0.7757 GB, free: 10.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5192, allocations: 0 / 0.7757 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004146/0.5196, allocations: 282.2 kB / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5197, allocations: 4 kB / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5197, allocations: 0 / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5197, allocations: 0 / 0.776 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5199, allocations: 63.89 kB / 0.776 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5199, allocations: 4 kB / 0.776 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.5201, allocations: 23.83 kB / 0.7761 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.5201, allocations: 19.97 kB / 0.7761 GB, free: 10.39 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.0001482/0.5203, allocations: 168.2 kB / 0.7762 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.5203, allocations: 27.62 kB / 0.7763 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006441/0.521, allocations: 376.4 kB / 0.7766 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.521, allocations: 4 kB / 0.7766 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.521, allocations: 0 / 0.7766 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.521, allocations: 7.922 kB / 0.7766 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.5213, allocations: 329.2 kB / 0.777 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5213, allocations: 0 / 0.777 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5215, allocations: 63.91 kB / 0.777 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5215, allocations: 0 / 0.777 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5215, allocations: 11.98 kB / 0.777 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.5215, allocations: 4 kB / 0.777 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5216, allocations: 7.938 kB / 0.777 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.522, allocations: 323.1 kB / 0.7773 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.5221, allocations: 140.7 kB / 0.7775 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.5222, allocations: 4 kB / 0.7775 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5223, allocations: 23.92 kB / 0.7775 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.5224, allocations: 19.97 kB / 0.7775 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.5224, allocations: 15.94 kB / 0.7775 GB, free: 8.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001893/0.5226, allocations: 233.8 kB / 0.7778 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5226, allocations: 0 / 0.7778 GB, free: 8.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002874/0.5229, allocations: 59.91 kB / 0.7778 GB, free: 8.512 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.0008849/0.5238, allocations: 398.4 kB / 0.7782 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.5242, allocations: 227.8 kB / 0.7784 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5242, allocations: 0 / 0.7784 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.5244, allocations: 127.8 kB / 0.7785 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5247, allocations: 38.2 kB / 0.7786 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.5254, allocations: 0.5339 MB / 0.7791 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.5258, allocations: 0.7573 MB / 0.7798 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5259, allocations: 59.36 kB / 0.7799 GB, free: 6.469 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5259, allocations: 0 / 0.7799 GB, free: 6.469 MB / 0.545 GB Notification: Performance of Templates: time 0.007391/0.5333, allocations: 4.216 MB / 0.784 GB, free: 2.27 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)