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: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001307/0.001307, allocations: 103.7 kB / 16.4 MB, free: 6.402 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.001229/0.001229, allocations: 189.2 kB / 17.34 MB, free: 5.699 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7966/0.7966, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 73.94 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1726, allocations: 76.17 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003461/0.1761, allocations: 1.871 MB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.1787, allocations: 1.573 MB / 0.635 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1789, allocations: 4 kB / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1791, allocations: 23.78 kB / 0.635 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.1796, allocations: 83.55 kB / 0.6351 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.1801, allocations: 173.1 kB / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.1805, allocations: 277.4 kB / 0.6355 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1806, allocations: 39.92 kB / 0.6355 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.1808, allocations: 99.73 kB / 0.6356 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1811, allocations: 111.7 kB / 0.6357 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.1811, allocations: 20 kB / 0.6358 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.1813, allocations: 75.98 kB / 0.6358 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1814, allocations: 95.67 kB / 0.6359 GB, free: 464 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1816, allocations: 123.3 kB / 0.636 GB, free: 340 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.182, allocations: 327.7 kB / 0.6364 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.182, allocations: 0 / 0.6364 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.182, allocations: 7.938 kB / 0.6364 GB, free: 4 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1821, allocations: 4 kB / 0.6364 GB, free: 0 / 478.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.00102/0.1831, allocations: 0.5539 MB / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1831, allocations: 8.031 kB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.1832, allocations: 54.73 kB / 0.637 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.1834, allocations: 28.66 kB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1838, allocations: 274.7 kB / 0.6373 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1838, allocations: 16.38 kB / 0.6373 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.1839, allocations: 19.94 kB / 0.6373 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.1843, allocations: 240.9 kB / 0.6375 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1843, allocations: 0 / 0.6375 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.1844, allocations: 8 kB / 0.6375 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1844, allocations: 4 kB / 0.6375 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009015/0.1853, allocations: 0.7528 MB / 0.6383 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1865, allocations: 0.6408 MB / 0.6389 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.187, allocations: 313.9 kB / 0.6392 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.1872, allocations: 109.4 kB / 0.6393 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.1872, allocations: 28.19 kB / 0.6393 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/0.1876, allocations: 180.2 kB / 0.6395 GB, free: 12.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.344e-06/0.1876, allocations: 0 / 0.6395 GB, free: 12.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006977/0.1883, allocations: 377.4 kB / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.1885, allocations: 132.5 kB / 0.64 GB, free: 12.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1888, allocations: 309 kB / 0.6403 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1888, allocations: 33.7 kB / 0.6403 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.1889, allocations: 144.5 kB / 0.6404 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.189, allocations: 110.4 kB / 0.6405 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1891, allocations: 69.67 kB / 0.6406 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1892, allocations: 342.8 kB / 0.6409 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1894, allocations: 79.95 kB / 0.641 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.1896, allocations: 127.2 kB / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.1899, allocations: 214.3 kB / 0.6413 GB, free: 10.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1899, allocations: 0 / 0.6413 GB, free: 10.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004555/0.1904, allocations: 281.2 kB / 0.6416 GB, free: 10.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1904, allocations: 7.938 kB / 0.6416 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1905, allocations: 11.94 kB / 0.6416 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1905, allocations: 0 / 0.6416 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.1907, allocations: 63.91 kB / 0.6417 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1907, allocations: 0 / 0.6417 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1909, allocations: 31.77 kB / 0.6417 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.191, allocations: 11.98 kB / 0.6417 GB, free: 10.21 MB / 494.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.0001799/0.1911, allocations: 162.4 kB / 0.6419 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.1912, allocations: 35.56 kB / 0.6419 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.1919, allocations: 384.8 kB / 0.6423 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1919, allocations: 4 kB / 0.6423 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1919, allocations: 4 kB / 0.6423 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1919, allocations: 3.984 kB / 0.6423 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.1922, allocations: 337.3 kB / 0.6426 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1923, allocations: 0 / 0.6426 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1924, allocations: 63.91 kB / 0.6427 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1925, allocations: 3.938 kB / 0.6427 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1925, allocations: 15.92 kB / 0.6427 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1925, allocations: 4 kB / 0.6427 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1925, allocations: 0 / 0.6427 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.193, allocations: 325.5 kB / 0.643 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.1931, allocations: 152.6 kB / 0.6432 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.1932, allocations: 7.938 kB / 0.6432 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.1934, allocations: 19.98 kB / 0.6432 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.1934, allocations: 27.95 kB / 0.6432 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.1935, allocations: 16 kB / 0.6432 GB, free: 8.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1937, allocations: 236.4 kB / 0.6435 GB, free: 8.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1937, allocations: 0 / 0.6435 GB, free: 8.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.194, allocations: 72 kB / 0.6435 GB, free: 8.273 MB / 494.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.00162/0.1956, allocations: 1.16 MB / 0.6447 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.1961, allocations: 227.7 kB / 0.6449 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1961, allocations: 4 kB / 0.6449 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1963, allocations: 131.8 kB / 0.645 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1966, allocations: 44.97 kB / 0.645 GB, free: 6.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.1997, allocations: 2.515 MB / 0.6475 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.2002, allocations: 0.7736 MB / 0.6483 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003724/0.2005, allocations: 138.9 kB / 0.6484 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.2007, allocations: 98.27 kB / 0.6485 GB, free: 3.211 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2007, allocations: 0 / 0.6485 GB, free: 3.211 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.2294, allocations: 6.131 MB / 0.6545 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.451, allocations: 4 kB / 0.6545 GB, free: 13.22 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)