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.007714/0.007714, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.002636/0.002636, allocations: 195.7 kB / 16.68 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002669/0.002669, allocations: 286.5 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003146/0.003146, allocations: 95.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2031, allocations: 86.97 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.002862/0.206, allocations: 1.274 MB / 0.7671 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2076, allocations: 0.8579 MB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.2077, allocations: 4 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.2077, allocations: 0 / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.2078, allocations: 7.922 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.2086, allocations: 201 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.2087, allocations: 19.94 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.2087, allocations: 0 / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.2088, allocations: 15.92 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.2089, allocations: 4 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2089, allocations: 0 / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.2093, allocations: 239.7 kB / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.2093, allocations: 0 / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.2094, allocations: 11.94 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.2097, allocations: 151.5 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2097, allocations: 3.938 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2097, allocations: 0 / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2097, allocations: 4 kB / 0.7686 GB, free: 6.145 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.0005059/0.2102, allocations: 363.2 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2103, allocations: 12.03 kB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.2103, allocations: 38.72 kB / 0.769 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.2105, allocations: 4.938 kB / 0.769 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.2107, allocations: 164.4 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2107, allocations: 4.375 kB / 0.7692 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2107, allocations: 3.938 kB / 0.7692 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.2108, allocations: 41.69 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2109, allocations: 0 / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2109, allocations: 8 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2109, allocations: 0 / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.211, allocations: 19.92 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.2112, allocations: 153.7 kB / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/0.2121, allocations: 138.5 kB / 0.7695 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.2122, allocations: 16.86 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.2123, allocations: 89.09 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2124, allocations: 34.56 kB / 0.7697 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2124, allocations: 0 / 0.7697 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002013/0.2126, allocations: 61.62 kB / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2126, allocations: 51.41 kB / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.2127, allocations: 101.8 kB / 0.7699 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2128, allocations: 29.7 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.2128, allocations: 80.14 kB / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.2129, allocations: 19.78 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.2129, allocations: 17.72 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2131, allocations: 314.8 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.2131, allocations: 12 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.2131, allocations: 4 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.006e-05/0.2132, allocations: 36.91 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2132, allocations: 0 / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001016/0.2133, allocations: 57.95 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2133, allocations: 4 kB / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2133, allocations: 0 / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2133, allocations: 0 / 0.7704 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.2134, allocations: 12 kB / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2134, allocations: 3.984 kB / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.2135, allocations: 3.953 kB / 0.7704 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2135, allocations: 0 / 0.7704 GB, free: 4.031 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 0.0001012/0.2136, allocations: 126.4 kB / 0.7706 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.2136, allocations: 7.969 kB / 0.7706 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.2139, allocations: 77.11 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2139, allocations: 4 kB / 0.7706 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2139, allocations: 4 kB / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2139, allocations: 0 / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.2141, allocations: 157.6 kB / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2141, allocations: 0 / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.2142, allocations: 8 kB / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2142, allocations: 0 / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2142, allocations: 4 kB / 0.7708 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2142, allocations: 0 / 0.7708 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2142, allocations: 0 / 0.7708 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2143, allocations: 96.98 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.2144, allocations: 81.06 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2144, allocations: 4 kB / 0.771 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.2145, allocations: 4 kB / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.2145, allocations: 3.984 kB / 0.771 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.2145, allocations: 4 kB / 0.771 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.2146, allocations: 75.28 kB / 0.7711 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2146, allocations: 3.938 kB / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003444/0.2149, allocations: 51.97 kB / 0.7711 GB, free: 3.23 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.0007908/0.2157, allocations: 0.6952 MB / 0.7718 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.2159, allocations: 24 kB / 0.7718 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2159, allocations: 8 kB / 0.7718 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.2159, allocations: 15.98 kB / 0.7718 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.2161, allocations: 10.25 kB / 0.7719 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.2167, allocations: 180.1 kB / 0.772 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.217, allocations: 0.6806 MB / 0.7727 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.301e-05/0.2171, allocations: 8 kB / 0.7727 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.2171, allocations: 11.44 kB / 0.7727 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.2171, allocations: 0 / 0.7727 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.409/0.6261, allocations: 1.976 MB / 0.7746 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.679, allocations: 6.812 kB / 0.7746 GB, free: 14.2 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)