Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001183/0.001183, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001084/0.001085, allocations: 192.8 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.166/2.166, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.146/1.146, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.44 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1801, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003617/0.1838, allocations: 1.49 MB / 0.633 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00042/0.1842, allocations: 127.6 kB / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.1843, allocations: 0 / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.1844, allocations: 3.938 kB / 0.6332 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.1845, allocations: 3.938 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1849, allocations: 71.83 kB / 0.6332 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1851, allocations: 63.83 kB / 0.6333 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1852, allocations: 23.91 kB / 0.6333 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.1853, allocations: 27.92 kB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1854, allocations: 19.91 kB / 0.6334 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.1854, allocations: 4 kB / 0.6334 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.77e-05/0.1855, allocations: 8 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.1855, allocations: 11.98 kB / 0.6334 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1855, allocations: 31.84 kB / 0.6334 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1857, allocations: 54.62 kB / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1857, allocations: 0 / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1857, allocations: 0 / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1857, allocations: 0 / 0.6335 GB, free: 2.977 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006256/0.1864, allocations: 376.2 kB / 0.6338 GB, free: 2.559 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1864, allocations: 12.03 kB / 0.6338 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.1865, allocations: 30.75 kB / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1865, allocations: 12.84 kB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.1867, allocations: 168.3 kB / 0.634 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.732e-05/0.1868, allocations: 38.25 kB / 0.6341 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1868, allocations: 4.375 kB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1871, allocations: 73.97 kB / 0.6341 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1871, allocations: 0 / 0.6341 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1871, allocations: 4 kB / 0.6341 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1871, allocations: 0 / 0.6341 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1873, allocations: 55.89 kB / 0.6342 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.188, allocations: 312.7 kB / 0.6345 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1882, allocations: 46.55 kB / 0.6345 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1883, allocations: 32.94 kB / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1883, allocations: 3.938 kB / 0.6346 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1884, allocations: 34.56 kB / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.1884, allocations: 0 / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004114/0.1888, allocations: 101.5 kB / 0.6347 GB, free: 1.512 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1889, allocations: 55.41 kB / 0.6348 GB, free: 1.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.189, allocations: 105.8 kB / 0.6349 GB, free: 1.332 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.189, allocations: 25.7 kB / 0.6349 GB, free: 1.301 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.1891, allocations: 92.08 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1891, allocations: 11.81 kB / 0.635 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.1892, allocations: 17.7 kB / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1893, allocations: 322.8 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.813e-05/0.1894, allocations: 23.98 kB / 0.6353 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.1895, allocations: 37.62 kB / 0.6354 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.1897, allocations: 53.69 kB / 0.6354 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1897, allocations: 0 / 0.6354 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000244/0.19, allocations: 97.48 kB / 0.6355 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.19, allocations: 7.938 kB / 0.6355 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.19, allocations: 0 / 0.6355 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.19, allocations: 0 / 0.6355 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1901, allocations: 16.22 kB / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1901, allocations: 0 / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.1902, allocations: 4.125 kB / 0.6355 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1902, allocations: 8 kB / 0.6355 GB, free: 0.5859 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.439e-05/0.1903, allocations: 121.8 kB / 0.6357 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.1904, allocations: 11.97 kB / 0.6357 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.1904, allocations: 7.906 kB / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1904, allocations: 0 / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1904, allocations: 0 / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1904, allocations: 0 / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1906, allocations: 189.5 kB / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1906, allocations: 0 / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.1907, allocations: 11.98 kB / 0.6359 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1907, allocations: 0 / 0.6359 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1907, allocations: 4 kB / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1907, allocations: 4 kB / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1908, allocations: 0 / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.1911, allocations: 171.5 kB / 0.636 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.1911, allocations: 81.11 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1911, allocations: 0 / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1913, allocations: 15.92 kB / 0.6361 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1913, allocations: 7.984 kB / 0.6361 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1913, allocations: 0 / 0.6361 GB, free: 15.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.1914, allocations: 91.27 kB / 0.6362 GB, free: 15.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1914, allocations: 3.938 kB / 0.6362 GB, free: 15.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1916, allocations: 15.84 kB / 0.6363 GB, free: 15.76 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 (4): * Single equations (assignments): 4 * 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.0005801/0.1922, allocations: 0.7046 MB / 0.6369 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1925, allocations: 51.89 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1925, allocations: 0 / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.1926, allocations: 27.97 kB / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1929, allocations: 12.06 kB / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1946, allocations: 1.329 MB / 0.6383 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1948, allocations: 0.6885 MB / 0.639 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.1949, allocations: 8 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.195, allocations: 11.44 kB / 0.639 GB, free: 12.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.195, allocations: 0 / 0.639 GB, free: 12.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.264/1.459, allocations: 1.804 MB / 0.6408 GB, free: 11.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.89, allocations: 13.89 kB / 0.6408 GB, free: 11.08 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)