Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001767/0.001767, allocations: 104.6 kB / 16.4 MB, free: 6.492 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.001811/0.001811, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8311/0.8311, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.8 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.184, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002591/0.1867, allocations: 1.227 MB / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1884, allocations: 1 MB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.1884, allocations: 4 kB / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.1885, allocations: 0 / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.189, allocations: 107.6 kB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.798e-06/0.1891, allocations: 0 / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.1891, allocations: 7.922 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1892, allocations: 0 / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.1892, allocations: 7.938 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1893, allocations: 7.984 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.1893, allocations: 0 / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.1896, allocations: 127.8 kB / 0.634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.1896, allocations: 0 / 0.634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.1896, allocations: 0 / 0.634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1899, allocations: 103.8 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1899, allocations: 0 / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1899, allocations: 0 / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1899, allocations: 3.938 kB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004135/0.1903, allocations: 346.4 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1904, allocations: 12.03 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.1905, allocations: 114 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.1905, allocations: 76.22 kB / 0.6346 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1908, allocations: 247.6 kB / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.1908, allocations: 150.9 kB / 0.635 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.1909, allocations: 154.9 kB / 0.6352 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.191, allocations: 116.9 kB / 0.6353 GB, free: 1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.191, allocations: 75.28 kB / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.1911, allocations: 150.6 kB / 0.6355 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.1912, allocations: 154.6 kB / 0.6357 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.1912, allocations: 154.5 kB / 0.6358 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1916, allocations: 449.9 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1917, allocations: 165.1 kB / 0.6364 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.1917, allocations: 80.14 kB / 0.6365 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.1918, allocations: 83.22 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.1918, allocations: 109.8 kB / 0.6366 GB, free: 15.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1918, allocations: 4 kB / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.604e-05/0.1919, allocations: 29.61 kB / 0.6367 GB, free: 15.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.192, allocations: 126.7 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1921, allocations: 101.8 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1922, allocations: 25.7 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.1922, allocations: 80.14 kB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1922, allocations: 0 / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1922, allocations: 17.84 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1924, allocations: 310.8 kB / 0.6373 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/0.1924, allocations: 48 / 0.6373 GB, free: 14.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.1924, allocations: 4 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.1924, allocations: 75.28 kB / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.1925, allocations: 75.28 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.449e-05/0.1925, allocations: 45.56 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.1926, allocations: 79.28 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/0.1926, allocations: 79.28 kB / 0.6377 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.997e-05/0.1927, allocations: 158.5 kB / 0.6378 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/0.1928, allocations: 75.41 kB / 0.6379 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.749e-05/0.1928, allocations: 158.5 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.1929, allocations: 75.28 kB / 0.6381 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.193, allocations: 79.28 kB / 0.6382 GB, free: 13.9 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.000131/0.1931, allocations: 268.4 kB / 0.6384 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.1932, allocations: 108.9 kB / 0.6385 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.1932, allocations: 112 kB / 0.6386 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-05/0.1933, allocations: 184.1 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-05/0.1934, allocations: 176.3 kB / 0.639 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.012e-05/0.1934, allocations: 184.2 kB / 0.6392 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1937, allocations: 405.2 kB / 0.6395 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/0.1937, allocations: 104.9 kB / 0.6396 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.1938, allocations: 108.9 kB / 0.6398 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.1939, allocations: 176.3 kB / 0.6399 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.544e-05/0.194, allocations: 184.3 kB / 0.6401 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.488e-05/0.1941, allocations: 188.2 kB / 0.6403 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.959e-05/0.1941, allocations: 176.3 kB / 0.6404 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1943, allocations: 303.8 kB / 0.6407 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.1944, allocations: 186 kB / 0.6409 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.1945, allocations: 192.2 kB / 0.6411 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.1946, allocations: 101 kB / 0.6412 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.1947, allocations: 184.2 kB / 0.6414 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.1947, allocations: 101 kB / 0.6415 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.351e-05/0.1948, allocations: 79.28 kB / 0.6415 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1948, allocations: 0 / 0.6415 GB, free: 10.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.1953, allocations: 44.08 kB / 0.6416 GB, free: 10.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0009273/0.1962, allocations: 0.9453 MB / 0.6425 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.286e-05/0.1963, allocations: 0 / 0.6425 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1963, allocations: 4 kB / 0.6425 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.1963, allocations: 4 kB / 0.6425 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1967, allocations: 459.7 kB / 0.6429 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.198, allocations: 1.552 MB / 0.6445 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1983, allocations: 0.669 MB / 0.6451 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.373e-05/0.1983, allocations: 8.125 kB / 0.6451 GB, free: 6.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.1984, allocations: 11.38 kB / 0.6451 GB, free: 6.441 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1984, allocations: 0 / 0.6451 GB, free: 6.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.2212, allocations: 1.891 MB / 0.647 GB, free: 4.703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.134, allocations: 7.797 kB / 0.647 GB, free: 4.695 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)