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.00921/0.00921, allocations: 99.84 kB / 15.73 MB, free: 6 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.002254/0.002254, allocations: 190 kB / 16.67 MB, free: 5.922 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 295.6 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.9907/0.9907, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 95.86 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.4819, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002738/0.4847, allocations: 1.282 MB / 0.7672 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.4859, allocations: 0.7648 MB / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.486, allocations: 0 / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.486, allocations: 3.938 kB / 0.7679 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.486, allocations: 3.938 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.4865, allocations: 171.2 kB / 0.7681 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.4866, allocations: 27.91 kB / 0.7681 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.4866, allocations: 3.938 kB / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.4867, allocations: 11.88 kB / 0.7681 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.4868, allocations: 11.98 kB / 0.7681 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.4868, allocations: 4 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.4873, allocations: 279.6 kB / 0.7684 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.4873, allocations: 15.92 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.4873, allocations: 7.984 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.4877, allocations: 176.6 kB / 0.7686 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4877, allocations: 0 / 0.7686 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4877, allocations: 0 / 0.7686 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4877, allocations: 0 / 0.7686 GB, free: 1.098 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.0005443/0.4882, allocations: 375 kB / 0.769 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4883, allocations: 15.97 kB / 0.769 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.4883, allocations: 34.75 kB / 0.769 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.4886, allocations: 16.91 kB / 0.769 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.4887, allocations: 168.4 kB / 0.7692 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4888, allocations: 384 / 0.7692 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.4888, allocations: 4.375 kB / 0.7692 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.4889, allocations: 46.25 kB / 0.7692 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4889, allocations: 7.938 kB / 0.7692 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.489, allocations: 3.938 kB / 0.7692 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.489, allocations: 0 / 0.7692 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.489, allocations: 23.98 kB / 0.7693 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.4892, allocations: 161.6 kB / 0.7694 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4894, allocations: 62.69 kB / 0.7695 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.4894, allocations: 24.86 kB / 0.7695 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.4895, allocations: 8.047 kB / 0.7695 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.4895, allocations: 42.55 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 6.903e-06/0.4895, allocations: 0 / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0002084/0.4898, allocations: 85.52 kB / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.4898, allocations: 51.41 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.4899, allocations: 89.86 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4899, allocations: 25.7 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.4899, allocations: 84.27 kB / 0.7699 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.49, allocations: 23.84 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.49, allocations: 17.72 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4902, allocations: 314.8 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.4902, allocations: 11.98 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.4902, allocations: 12 kB / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.4903, allocations: 40.78 kB / 0.7703 GB, free: 15.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4903, allocations: 0 / 0.7703 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000103/0.4904, allocations: 61.69 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4904, allocations: 15.88 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4905, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4905, allocations: 4 kB / 0.7704 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4906, allocations: 11.98 kB / 0.7704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4906, allocations: 4 kB / 0.7704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.4907, allocations: 7.875 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.4907, allocations: 0 / 0.7704 GB, free: 15.04 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 9.205e-05/0.4908, allocations: 120.2 kB / 0.7705 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.4908, allocations: 3.938 kB / 0.7705 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.491, allocations: 93.58 kB / 0.7706 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.491, allocations: 3.984 kB / 0.7706 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4911, allocations: 0 / 0.7706 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4911, allocations: 0 / 0.7706 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.4912, allocations: 165.7 kB / 0.7707 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4912, allocations: 0 / 0.7707 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.4913, allocations: 15.98 kB / 0.7708 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4913, allocations: 7.938 kB / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4913, allocations: 4 kB / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4913, allocations: 0 / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4914, allocations: 3.938 kB / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.4915, allocations: 93.11 kB / 0.7709 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.4916, allocations: 89.05 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.4916, allocations: 3.938 kB / 0.771 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.4917, allocations: 4 kB / 0.771 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.4917, allocations: 4 kB / 0.771 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4917, allocations: 11.98 kB / 0.771 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.4918, allocations: 75.28 kB / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4918, allocations: 0 / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001859/0.4919, allocations: 8 kB / 0.771 GB, free: 14.25 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.0004525/0.4924, allocations: 0.632 MB / 0.7717 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.4925, allocations: 39.97 kB / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4926, allocations: 0 / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.4926, allocations: 24.17 kB / 0.7717 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.4928, allocations: 6.5 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.0004593/0.4933, allocations: 168.4 kB / 0.7719 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.4936, allocations: 0.6807 MB / 0.7726 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.978e-05/0.4937, allocations: 7.984 kB / 0.7726 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.4937, allocations: 19.42 kB / 0.7726 GB, free: 12.58 MB / 0.545 GB Notification: Performance of SimCode: time 2.154e-06/0.4937, allocations: 0 / 0.7726 GB, free: 12.58 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.515, allocations: 1.467 MB / 0.774 GB, free: 11.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/8.128, allocations: 2.875 kB / 0.774 GB, free: 11.3 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)