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.006202/0.006201, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00121/0.00121, allocations: 193.2 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002213/0.002213, allocations: 287.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9208/0.9208, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 95.84 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5207, allocations: 86.96 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002634/0.5234, allocations: 1.292 MB / 0.7672 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.5246, allocations: 0.757 MB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.5246, allocations: 0 / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.5247, allocations: 7.922 kB / 0.7679 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.5247, allocations: 7.922 kB / 0.7679 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.5254, allocations: 171.3 kB / 0.7681 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.5254, allocations: 23.92 kB / 0.7681 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.5255, allocations: 3.984 kB / 0.7681 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.5255, allocations: 15.88 kB / 0.7681 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.5256, allocations: 8 kB / 0.7681 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.5256, allocations: 0 / 0.7681 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.5261, allocations: 287.5 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.5261, allocations: 7.922 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.5262, allocations: 7.984 kB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.5265, allocations: 172.6 kB / 0.7686 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.5265, allocations: 0 / 0.7686 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5265, allocations: 4 kB / 0.7686 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.5265, allocations: 4 kB / 0.7686 GB, free: 1.105 MB / 0.5294 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.0004872/0.527, allocations: 367 kB / 0.7689 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.5271, allocations: 12.03 kB / 0.769 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.5271, allocations: 34.75 kB / 0.769 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.5275, allocations: 24.84 kB / 0.769 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5276, allocations: 160.4 kB / 0.7692 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.5276, allocations: 8.312 kB / 0.7692 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.5276, allocations: 4.375 kB / 0.7692 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.5278, allocations: 50.23 kB / 0.7692 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.5278, allocations: 3.938 kB / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.5278, allocations: 0 / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.5279, allocations: 7.938 kB / 0.7692 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.5279, allocations: 19.98 kB / 0.7693 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.5282, allocations: 161.6 kB / 0.7694 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.5284, allocations: 66.66 kB / 0.7695 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.5284, allocations: 24.89 kB / 0.7695 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.5285, allocations: 4 kB / 0.7695 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.5285, allocations: 30.56 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.5285, allocations: 0 / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0002404/0.5288, allocations: 89.5 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.5288, allocations: 51.41 kB / 0.7697 GB, free: 15.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.5289, allocations: 93.86 kB / 0.7698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5289, allocations: 29.7 kB / 0.7698 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.529, allocations: 80.14 kB / 0.7699 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.529, allocations: 15.86 kB / 0.7699 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.5291, allocations: 21.7 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5292, allocations: 314.8 kB / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.5292, allocations: 11.98 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.5293, allocations: 16.12 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.5293, allocations: 37.17 kB / 0.7703 GB, free: 15.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-06/0.5294, allocations: 4 kB / 0.7703 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001085/0.5295, allocations: 61.69 kB / 0.7703 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5295, allocations: 11.94 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5295, allocations: 0 / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5295, allocations: 3.984 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.5297, allocations: 12 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5297, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.5297, allocations: 3.938 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5298, allocations: 8 kB / 0.7704 GB, free: 15.06 MB / 0.545 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 8.614e-05/0.5299, allocations: 124.1 kB / 0.7705 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.5299, allocations: 3.938 kB / 0.7705 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.5301, allocations: 93.56 kB / 0.7706 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5301, allocations: 0 / 0.7706 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5301, allocations: 4 kB / 0.7706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5301, allocations: 0 / 0.7706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.5303, allocations: 161.7 kB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5303, allocations: 3.984 kB / 0.7707 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.5304, allocations: 12 kB / 0.7707 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5304, allocations: 11.88 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.5304, allocations: 0 / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5304, allocations: 0 / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5304, allocations: 3.938 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.5306, allocations: 105.1 kB / 0.7709 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.5307, allocations: 81.06 kB / 0.7709 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.5307, allocations: 7.922 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.547e-05/0.5307, allocations: 4 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.5308, allocations: 0 / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.5308, allocations: 8 kB / 0.771 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.5308, allocations: 75.28 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5308, allocations: 0 / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001889/0.531, allocations: 8 kB / 0.771 GB, free: 14.27 MB / 0.545 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.0004153/0.5314, allocations: 0.6359 MB / 0.7717 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.5316, allocations: 35.98 kB / 0.7717 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5316, allocations: 4 kB / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.5316, allocations: 27.92 kB / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.5319, allocations: 18.64 kB / 0.7717 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.5324, allocations: 168.2 kB / 0.7719 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.5326, allocations: 0.6846 MB / 0.7726 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.5327, allocations: 4 kB / 0.7726 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.5327, allocations: 14.67 kB / 0.7726 GB, free: 12.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.5327, allocations: 0 / 0.7726 GB, free: 12.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.5494, allocations: 1.451 MB / 0.774 GB, free: 11.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.86, allocations: 8.812 kB / 0.774 GB, free: 11.32 MB / 0.545 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)