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.005227/0.005227, allocations: 102 kB / 15.73 MB, free: 6.039 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.001142/0.001142, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 291.5 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.8887/0.8887, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002042, allocations: 95.86 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4642, allocations: 86.99 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002529/0.4668, allocations: 1.283 MB / 0.7672 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4681, allocations: 0.7687 MB / 0.7679 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.4681, allocations: 4 kB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.4682, allocations: 0 / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.4682, allocations: 3.938 kB / 0.7679 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.4689, allocations: 159.2 kB / 0.7681 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.469, allocations: 27.86 kB / 0.7681 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.469, allocations: 4 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.4691, allocations: 19.92 kB / 0.7681 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.4691, allocations: 7.984 kB / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.804e-06/0.4691, allocations: 0 / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.4696, allocations: 291.5 kB / 0.7684 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.4696, allocations: 3.938 kB / 0.7684 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.4697, allocations: 15.94 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.4699, allocations: 171.6 kB / 0.7686 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.47, allocations: 3.984 kB / 0.7686 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.47, allocations: 0 / 0.7686 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.47, allocations: 0 / 0.7686 GB, free: 1.109 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.0004257/0.4704, allocations: 371.5 kB / 0.7689 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4704, allocations: 8.031 kB / 0.769 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.4705, allocations: 38.73 kB / 0.769 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.4707, allocations: 20.81 kB / 0.769 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.4708, allocations: 168.3 kB / 0.7692 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.4709, allocations: 4.375 kB / 0.7692 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.4709, allocations: 4.375 kB / 0.7692 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.471, allocations: 50.25 kB / 0.7692 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.471, allocations: 3.938 kB / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.471, allocations: 0 / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.471, allocations: 0 / 0.7692 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.4711, allocations: 27.97 kB / 0.7693 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.4713, allocations: 161.7 kB / 0.7694 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4714, allocations: 66.52 kB / 0.7695 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.4714, allocations: 32.89 kB / 0.7695 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4715, allocations: 0 / 0.7695 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.4715, allocations: 30.56 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.4715, allocations: 0 / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0001795/0.4717, allocations: 81.56 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4717, allocations: 55.41 kB / 0.7697 GB, free: 15.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.4718, allocations: 93.84 kB / 0.7698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4718, allocations: 29.83 kB / 0.7698 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.4719, allocations: 84.14 kB / 0.7699 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.4719, allocations: 19.66 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.4719, allocations: 17.72 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4721, allocations: 318.8 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.4721, allocations: 8 kB / 0.7702 GB, free: 15.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.4721, allocations: 11.98 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.598e-05/0.4722, allocations: 32.86 kB / 0.7703 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4722, allocations: 0 / 0.7703 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.172e-05/0.4723, allocations: 73.62 kB / 0.7703 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4723, allocations: 7.938 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4723, allocations: 0 / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4723, allocations: 0 / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4725, allocations: 15.98 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4725, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.4725, allocations: 8 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.4725, allocations: 3.938 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 7.198e-05/0.4726, allocations: 109.8 kB / 0.7705 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.4726, allocations: 15.78 kB / 0.7705 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.4728, allocations: 93.55 kB / 0.7706 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4728, allocations: 4 kB / 0.7706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4729, allocations: 448 / 0.7706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4729, allocations: 0 / 0.7706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.473, allocations: 157.7 kB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.473, allocations: 4 kB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.4731, allocations: 19.98 kB / 0.7707 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.4731, allocations: 3.938 kB / 0.7707 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4731, allocations: 4 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4731, allocations: 4 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4731, allocations: 0 / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.4732, allocations: 89.06 kB / 0.7708 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.4733, allocations: 92.94 kB / 0.7709 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.4733, allocations: 7.938 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.4734, allocations: 4 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.4734, allocations: 7.984 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.4734, allocations: 0 / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.689e-05/0.4734, allocations: 79.28 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4734, allocations: 0 / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001781/0.4736, allocations: 12 kB / 0.771 GB, free: 14.26 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.0003441/0.474, allocations: 0.6398 MB / 0.7717 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.4741, allocations: 35.98 kB / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4741, allocations: 0 / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.4741, allocations: 16 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.000201/0.4743, allocations: 12.38 kB / 0.7717 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.4747, 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.0001945/0.4749, allocations: 0.6768 MB / 0.7725 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.475, allocations: 11.97 kB / 0.7726 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.475, allocations: 7.438 kB / 0.7726 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.475, allocations: 0 / 0.7726 GB, free: 12.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.4914, allocations: 1.477 MB / 0.774 GB, free: 11.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.431, allocations: 4.188 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 & /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)