Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001338/0.001338, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002701/0.0027, allocations: 279.2 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 100.7 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1991, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002584/0.2018, allocations: 1.282 MB / 0.7672 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.203, allocations: 0.7635 MB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.203, allocations: 4 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.2031, allocations: 7.922 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.2031, allocations: 0 / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.2036, allocations: 171.2 kB / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.2037, allocations: 19.94 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.2038, allocations: 11.91 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.2038, allocations: 8 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.2039, allocations: 11.94 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.2039, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.2044, allocations: 295.5 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.2044, allocations: 0 / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.2044, allocations: 11.92 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2047, allocations: 171.8 kB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2047, allocations: 0 / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2047, allocations: 0 / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2047, allocations: 4 kB / 0.7686 GB, free: 6.188 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004768/0.2052, allocations: 371 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2053, allocations: 11.97 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.2053, allocations: 42.75 kB / 0.769 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.2056, allocations: 20.91 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2058, allocations: 168.3 kB / 0.7692 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2058, allocations: 384 / 0.7692 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2058, allocations: 4.375 kB / 0.7692 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.2059, allocations: 50.23 kB / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.206, allocations: 3.938 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.206, allocations: 0 / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.206, allocations: 8 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.206, allocations: 23.92 kB / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.2062, allocations: 157.7 kB / 0.7694 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.2064, allocations: 66.64 kB / 0.7695 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.2064, allocations: 24.89 kB / 0.7695 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.2065, allocations: 4 kB / 0.7695 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2065, allocations: 34.56 kB / 0.7695 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2065, allocations: 0 / 0.7695 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002142/0.2067, allocations: 89.5 kB / 0.7696 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.2068, allocations: 51.41 kB / 0.7697 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.2069, allocations: 89.86 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2069, allocations: 29.7 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.2069, allocations: 80.14 kB / 0.7699 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.207, allocations: 19.8 kB / 0.7699 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.207, allocations: 29.83 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2071, allocations: 310.8 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.2072, allocations: 8 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.2072, allocations: 15.98 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.2073, allocations: 32.86 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2073, allocations: 3.938 kB / 0.7703 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001075/0.2074, allocations: 66 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2074, allocations: 11.94 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2074, allocations: 64 / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2075, allocations: 8 kB / 0.7703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2076, allocations: 15.98 kB / 0.7704 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2076, allocations: 0 / 0.7704 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.2076, allocations: 0 / 0.7704 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.2077, allocations: 4 kB / 0.7704 GB, free: 4.133 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 (6): * Single equations (assignments): 6 * 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.196e-05/0.2078, allocations: 114.5 kB / 0.7705 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.2078, allocations: 3.938 kB / 0.7705 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.208, allocations: 101.5 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.208, allocations: 0 / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.208, allocations: 0 / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.208, allocations: 0 / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.2082, allocations: 161.7 kB / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2082, allocations: 0 / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.2083, allocations: 23.92 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2083, allocations: 3.938 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2083, allocations: 0 / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2083, allocations: 4 kB / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2083, allocations: 0 / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.2085, allocations: 101 kB / 0.7708 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.2085, allocations: 81.06 kB / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2086, allocations: 3.938 kB / 0.7709 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.2086, allocations: 7.984 kB / 0.7709 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.2087, allocations: 3.984 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.2087, allocations: 12 kB / 0.771 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.2087, allocations: 75.28 kB / 0.771 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2087, allocations: 0 / 0.771 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002572/0.209, allocations: 8 kB / 0.771 GB, free: 3.34 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 (7): * Single equations (assignments): 7 * 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.0005695/0.2096, allocations: 0.6358 MB / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2097, allocations: 36.08 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2097, allocations: 0 / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.2098, allocations: 31.92 kB / 0.7717 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.2101, allocations: 7.875 kB / 0.7717 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.2106, allocations: 172.2 kB / 0.7719 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.2109, allocations: 0.6807 MB / 0.7726 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.838e-05/0.211, allocations: 11.98 kB / 0.7726 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.211, allocations: 11.44 kB / 0.7726 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.211, allocations: 0 / 0.7726 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.2336, allocations: 1.462 MB / 0.774 GB, free: 392 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.215, allocations: 11.11 kB / 0.774 GB, free: 388 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)