Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.004818/0.004818, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001266/0.001266, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002151/0.002151, allocations: 279.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9332/0.9332, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 104.2 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1721, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002444/0.1746, allocations: 1.268 MB / 0.7671 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.176, allocations: 0.8579 MB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.1761, allocations: 0 / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1761, allocations: 7.938 kB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.1762, allocations: 3.984 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.1768, allocations: 198.8 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.1769, allocations: 15.88 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.177, allocations: 3.984 kB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.177, allocations: 11.88 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.1771, allocations: 11.98 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1771, allocations: 4 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.1775, allocations: 231.7 kB / 0.7685 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.1775, allocations: 8 kB / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.1775, allocations: 11.92 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.1778, allocations: 151.7 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1778, allocations: 0 / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1778, allocations: 0 / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1779, allocations: 0 / 0.7686 GB, free: 6.152 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.0004526/0.1783, allocations: 363.4 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1784, allocations: 12.03 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.1784, allocations: 34.75 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.1786, allocations: 8.922 kB / 0.769 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.1787, allocations: 164.4 kB / 0.7692 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1787, allocations: 4.375 kB / 0.7692 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1787, allocations: 3.938 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1788, allocations: 49.61 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1788, allocations: 0 / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1789, allocations: 0 / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1789, allocations: 0 / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.1789, allocations: 23.98 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.1791, allocations: 153.7 kB / 0.7694 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.18, allocations: 130.5 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.18, allocations: 32.78 kB / 0.7696 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.1802, allocations: 81.11 kB / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1802, allocations: 30.56 kB / 0.7697 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1802, allocations: 0 / 0.7697 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001844/0.1804, allocations: 61.69 kB / 0.7697 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1804, allocations: 59.39 kB / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.1805, allocations: 89.86 kB / 0.7699 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1805, allocations: 29.83 kB / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.1806, allocations: 84.08 kB / 0.77 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.1806, allocations: 19.75 kB / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1806, allocations: 17.72 kB / 0.77 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1808, allocations: 314.8 kB / 0.7703 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.1808, allocations: 11.94 kB / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.1808, allocations: 8 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.1809, allocations: 28.84 kB / 0.7704 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1809, allocations: 0 / 0.7704 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.849e-05/0.181, allocations: 57.62 kB / 0.7704 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.181, allocations: 7.938 kB / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.181, allocations: 0 / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.181, allocations: 0 / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.1811, allocations: 12 kB / 0.7704 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1811, allocations: 3.938 kB / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.1812, allocations: 0 / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1812, allocations: 4 kB / 0.7704 GB, free: 4.039 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 8.697e-05/0.1813, allocations: 114.4 kB / 0.7705 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1813, allocations: 7.906 kB / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.1816, allocations: 85.09 kB / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1816, allocations: 0 / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1816, allocations: 0 / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1816, allocations: 336 / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1817, allocations: 169.6 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1817, allocations: 0 / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.1818, allocations: 8 kB / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1818, allocations: 7.984 kB / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1818, allocations: 7.984 kB / 0.7708 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1818, allocations: 0 / 0.7708 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1818, allocations: 0 / 0.7708 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.182, allocations: 89.06 kB / 0.7709 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.182, allocations: 85.11 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1821, allocations: 0 / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.1821, allocations: 0 / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.1821, allocations: 7.984 kB / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1821, allocations: 0 / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.1822, allocations: 79.22 kB / 0.7711 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1822, allocations: 0 / 0.7711 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002747/0.1825, allocations: 51.94 kB / 0.7711 GB, free: 3.238 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 (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 Backend phase and start with SimCode phase: time 0.0006996/0.1832, allocations: 0.7037 MB / 0.7718 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.1833, allocations: 27.98 kB / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.1833, allocations: 0 / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.1834, allocations: 15.94 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.1835, allocations: 8 kB / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.1841, allocations: 164.4 kB / 0.772 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1844, allocations: 0.6807 MB / 0.7727 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.336e-05/0.1844, allocations: 8 kB / 0.7727 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.1845, allocations: 15.42 kB / 0.7727 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.1845, allocations: 0 / 0.7727 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3521/0.5366, allocations: 1.986 MB / 0.7746 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.551, allocations: 8.406 kB / 0.7746 GB, free: 14.76 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)