Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008364, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000894/0.0008941, allocations: 185 kB / 16.92 MB, free: 6.773 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7232/0.7232, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004849, allocations: 12.28 kB / 495.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1732, allocations: 77.54 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002405/0.1757, allocations: 1.576 MB / 0.5615 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.178, allocations: 1.518 MB / 0.563 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.1781, allocations: 4 kB / 0.563 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1784, allocations: 19.84 kB / 0.563 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1787, allocations: 67.73 kB / 0.5631 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.1792, allocations: 154.9 kB / 0.5632 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.1795, allocations: 261.4 kB / 0.5635 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1796, allocations: 33.33 kB / 0.5635 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1798, allocations: 79.77 kB / 0.5636 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.18, allocations: 99.64 kB / 0.5637 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.1801, allocations: 12 kB / 0.5637 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.1803, allocations: 71.95 kB / 0.5638 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1804, allocations: 79.73 kB / 0.5638 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1805, allocations: 129 kB / 0.564 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.1809, allocations: 311 kB / 0.5643 GB, free: 4.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1809, allocations: 0 / 0.5643 GB, free: 4.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1809, allocations: 0 / 0.5643 GB, free: 4.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1809, allocations: 0 / 0.5643 GB, free: 4.625 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007539/0.1817, allocations: 0.511 MB / 0.5648 GB, free: 4.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1817, allocations: 8.031 kB / 0.5648 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1819, allocations: 32.66 kB / 0.5648 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1822, allocations: 274.7 kB / 0.5651 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1822, allocations: 16.38 kB / 0.5651 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1823, allocations: 24.12 kB / 0.5651 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.1827, allocations: 233.6 kB / 0.5653 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1827, allocations: 3.938 kB / 0.5653 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.1827, allocations: 11.98 kB / 0.5653 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1827, allocations: 4 kB / 0.5653 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008682/0.1836, allocations: 0.7529 MB / 0.5661 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1847, allocations: 0.6525 MB / 0.5667 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.1852, allocations: 306 kB / 0.567 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1853, allocations: 105.4 kB / 0.5671 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.1854, allocations: 24.23 kB / 0.5671 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.1857, allocations: 183.5 kB / 0.5673 GB, free: 1.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.784e-06/0.1857, allocations: 4 kB / 0.5673 GB, free: 1.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006344/0.1864, allocations: 382.4 kB / 0.5677 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.1865, allocations: 132.5 kB / 0.5678 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.1868, allocations: 305 kB / 0.5681 GB, free: 488 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.1868, allocations: 33.7 kB / 0.5681 GB, free: 448 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.1869, allocations: 132.6 kB / 0.5682 GB, free: 308 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.187, allocations: 118.3 kB / 0.5684 GB, free: 188 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.187, allocations: 29.7 kB / 0.5684 GB, free: 152 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1872, allocations: 342.8 kB / 0.5687 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1873, allocations: 79.95 kB / 0.5688 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1875, allocations: 136.9 kB / 0.5689 GB, free: 15.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1878, allocations: 214.4 kB / 0.5691 GB, free: 15.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1878, allocations: 0 / 0.5691 GB, free: 15.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004318/0.1883, allocations: 281 kB / 0.5694 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1883, allocations: 4 kB / 0.5694 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1883, allocations: 7.875 kB / 0.5694 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1883, allocations: 4 kB / 0.5694 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1886, allocations: 59.91 kB / 0.5695 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1886, allocations: 4 kB / 0.5695 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.1888, allocations: 31.83 kB / 0.5695 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.1888, allocations: 11.98 kB / 0.5695 GB, free: 14.97 MB / 446.1 MB 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 (36): * Single equations (assignments): 36 * 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.0001659/0.189, allocations: 165.7 kB / 0.5697 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.189, allocations: 27.62 kB / 0.5697 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.1897, allocations: 396.8 kB / 0.5701 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1897, allocations: 0 / 0.5701 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1897, allocations: 4 kB / 0.5701 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1897, allocations: 3.984 kB / 0.5701 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.1901, allocations: 345.2 kB / 0.5704 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1901, allocations: 0 / 0.5704 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.1903, allocations: 59.91 kB / 0.5705 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1903, allocations: 4 kB / 0.5705 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1903, allocations: 19.92 kB / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1903, allocations: 0 / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1903, allocations: 0 / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.1908, allocations: 333.5 kB / 0.5708 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.191, allocations: 140.7 kB / 0.5709 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.191, allocations: 11.94 kB / 0.571 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1912, allocations: 43.42 kB / 0.571 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.1913, allocations: 23.97 kB / 0.571 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.1913, allocations: 15.98 kB / 0.571 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.1916, allocations: 236.4 kB / 0.5713 GB, free: 13.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1916, allocations: 3.938 kB / 0.5713 GB, free: 13.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1919, allocations: 68 kB / 0.5713 GB, free: 13.01 MB / 446.1 MB 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 (35): * Single equations (assignments): 34 * 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.0009213/0.1928, allocations: 393.3 kB / 0.5717 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.1932, allocations: 240.1 kB / 0.5719 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1933, allocations: 0 / 0.5719 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.1935, allocations: 127.9 kB / 0.5721 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1938, allocations: 40.42 kB / 0.5721 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.1946, allocations: 0.6316 MB / 0.5727 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.195, allocations: 0.7653 MB / 0.5735 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.1953, allocations: 146.8 kB / 0.5736 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.1954, allocations: 43.42 kB / 0.5736 GB, free: 10.75 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1954, allocations: 3.938 kB / 0.5736 GB, free: 10.74 MB / 446.1 MB Notification: Performance of Templates: time 0.00747/0.2029, allocations: 3.237 MB / 0.5768 GB, free: 7.531 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)