Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.00579/0.00579, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.001199/0.001199, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002176, allocations: 270.9 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 91.86 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1791, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002474/0.1817, allocations: 1.268 MB / 0.7671 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.1824, allocations: 295 kB / 0.7674 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.1824, allocations: 0 / 0.7674 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1825, allocations: 4 kB / 0.7674 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.1825, allocations: 3.938 kB / 0.7674 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.1829, allocations: 43.77 kB / 0.7675 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.1829, allocations: 23.91 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.183, allocations: 4 kB / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.183, allocations: 7.938 kB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.1831, allocations: 7.984 kB / 0.7675 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1831, allocations: 0 / 0.7675 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1833, allocations: 55.95 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.1833, allocations: 0 / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.1833, allocations: 11.94 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1835, allocations: 55.81 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1835, allocations: 4 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1835, allocations: 0 / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1835, allocations: 0 / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004068/0.1839, allocations: 339.4 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.184, allocations: 8.031 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.184, allocations: 30.75 kB / 0.768 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.1842, allocations: 20.92 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1844, allocations: 168.4 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1844, allocations: 4.312 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.1844, allocations: 4.375 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1845, allocations: 42.25 kB / 0.7682 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1845, allocations: 3.938 kB / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1846, allocations: 0 / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1846, allocations: 0 / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.1846, allocations: 19.98 kB / 0.7682 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.1848, allocations: 157.6 kB / 0.7684 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.1866, allocations: 270.4 kB / 0.7687 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.1867, allocations: 20.84 kB / 0.7687 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1867, allocations: 0 / 0.7687 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1868, allocations: 38.56 kB / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1868, allocations: 0 / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001721/0.1869, allocations: 61.62 kB / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.187, allocations: 51.41 kB / 0.7688 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.1871, allocations: 101.8 kB / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1871, allocations: 25.7 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.1871, allocations: 84.08 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1872, allocations: 19.73 kB / 0.769 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.1872, allocations: 17.72 kB / 0.7691 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1874, allocations: 314.8 kB / 0.7694 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.1874, allocations: 11.98 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.1874, allocations: 8 kB / 0.7694 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.1875, allocations: 29.27 kB / 0.7694 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1875, allocations: 0 / 0.7694 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.572e-05/0.1876, allocations: 57.67 kB / 0.7695 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1876, allocations: 9.812 kB / 0.7695 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1876, allocations: 0 / 0.7695 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1876, allocations: 0 / 0.7695 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.1877, allocations: 11.94 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1877, allocations: 3.984 kB / 0.7695 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.1878, allocations: 7.984 kB / 0.7695 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1878, allocations: 0 / 0.7695 GB, free: 5.023 MB / 0.5606 GB 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 (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 prepare postOptimizeDAE: time 7.746e-05/0.1879, allocations: 118.5 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.1879, allocations: 7.844 kB / 0.7696 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.1879, allocations: 7.5 kB / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1879, allocations: 0 / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1879, allocations: 4 kB / 0.7696 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1879, allocations: 0 / 0.7696 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.188, allocations: 153.7 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1881, allocations: 0 / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.1881, allocations: 4 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1881, allocations: 3.938 kB / 0.7698 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1881, allocations: 8 kB / 0.7698 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1881, allocations: 0 / 0.7698 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1881, allocations: 3.984 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1883, allocations: 77.06 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.1883, allocations: 81.11 kB / 0.7699 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1883, allocations: 7.938 kB / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.1884, allocations: 3.938 kB / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.1884, allocations: 3.984 kB / 0.77 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1884, allocations: 8 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.1885, allocations: 75.28 kB / 0.77 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.144e-06/0.1885, allocations: 0 / 0.77 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001861/0.1887, allocations: 7.938 kB / 0.77 GB, free: 4.363 MB / 0.5606 GB 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.0003378/0.189, allocations: 0.6203 MB / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.292e-05/0.1891, allocations: 27.98 kB / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1891, allocations: 0 / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.1891, allocations: 12 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.1894, allocations: 7.984 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.1898, allocations: 164.2 kB / 0.7708 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.19, allocations: 0.6768 MB / 0.7715 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.1901, allocations: 3.984 kB / 0.7715 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.1901, allocations: 11.44 kB / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1901, allocations: 4 kB / 0.7715 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.2058, allocations: 1.35 MB / 0.7728 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/7.109, allocations: 14.81 kB / 0.7729 GB, free: 1.523 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)