Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.004492/0.004492, allocations: 98.39 kB / 15.73 MB, free: 5.535 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.0009839/0.0009839, allocations: 185 kB / 16.67 MB, free: 5.473 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.259/1.259, 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.002206/0.002206, allocations: 297 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.92/0.92, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 91.86 kB / 0.6809 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4256, allocations: 86.98 MB / 0.7659 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002974/0.4286, allocations: 1.639 MB / 0.7675 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.5905, allocations: 151.6 MB / 0.9155 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.5907, allocations: 4 kB / 0.9155 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.5909, allocations: 11.81 kB / 0.9155 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.5913, allocations: 47.7 kB / 0.9156 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.5917, allocations: 143.4 kB / 0.9157 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.5919, allocations: 123.6 kB / 0.9158 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.5921, allocations: 29.34 kB / 0.9158 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.5933, allocations: 167 kB / 0.916 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.5934, allocations: 43.78 kB / 0.916 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.5934, allocations: 8 kB / 0.9161 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.5938, allocations: 175.7 kB / 0.9162 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.5938, allocations: 31.92 kB / 0.9163 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.5939, allocations: 47.72 kB / 0.9163 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.5943, allocations: 195.4 kB / 0.9165 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5943, allocations: 0 / 0.9165 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5943, allocations: 0 / 0.9165 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5943, allocations: 0 / 0.9165 GB, free: 9.23 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006183/0.5949, allocations: 442.9 kB / 0.9169 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.595, allocations: 12.03 kB / 0.9169 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.595, allocations: 38.75 kB / 0.917 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000891/0.5959, allocations: 75.75 kB / 0.917 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.5962, allocations: 221.5 kB / 0.9172 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5962, allocations: 8 kB / 0.9172 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.5962, allocations: 4 kB / 0.9173 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.5966, allocations: 133.6 kB / 0.9174 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5966, allocations: 0 / 0.9174 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.5966, allocations: 7.922 kB / 0.9174 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.5966, allocations: 0 / 0.9174 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.5971, allocations: 139.9 kB / 0.9175 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.5979, allocations: 420.3 kB / 0.9179 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.5985, allocations: 251.7 kB / 0.9182 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.5988, allocations: 76.8 kB / 0.9182 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.5988, allocations: 4 kB / 0.9182 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.5988, allocations: 30.56 kB / 0.9183 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.5988, allocations: 0 / 0.9183 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.0007458/0.5996, allocations: 217.7 kB / 0.9185 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.5997, allocations: 59.34 kB / 0.9185 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5998, allocations: 144.7 kB / 0.9187 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5998, allocations: 25.7 kB / 0.9187 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.5999, allocations: 108.1 kB / 0.9188 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.5999, allocations: 23.7 kB / 0.9188 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.6, allocations: 25.7 kB / 0.9188 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6001, allocations: 330.8 kB / 0.9192 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.6003, allocations: 51.89 kB / 0.9192 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.6006, allocations: 82.58 kB / 0.9193 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.6009, allocations: 116.8 kB / 0.9194 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6009, allocations: 0 / 0.9194 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004476/0.6014, allocations: 165.5 kB / 0.9196 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.6014, allocations: 4 kB / 0.9196 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6014, allocations: 0 / 0.9196 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6015, allocations: 7.984 kB / 0.9196 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.6017, allocations: 23.97 kB / 0.9196 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6017, allocations: 0 / 0.9196 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.6018, allocations: 35.83 kB / 0.9196 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.6019, allocations: 3.938 kB / 0.9196 GB, free: 5.75 MB / 0.6856 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 (8): * Single equations (assignments): 8 * 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.559e-05/0.602, allocations: 121.8 kB / 0.9197 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.602, allocations: 7.906 kB / 0.9198 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.6021, allocations: 16.72 kB / 0.9198 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6021, allocations: 0 / 0.9198 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6021, allocations: 4 kB / 0.9198 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6021, allocations: 0 / 0.9198 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.6029, allocations: 462.2 kB / 0.9202 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6029, allocations: 0 / 0.9202 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.6031, allocations: 39.95 kB / 0.9203 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6031, allocations: 0 / 0.9203 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6031, allocations: 0 / 0.9203 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6031, allocations: 3.938 kB / 0.9203 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6031, allocations: 0 / 0.9203 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.6036, allocations: 263.2 kB / 0.9205 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.6036, allocations: 85.02 kB / 0.9206 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.6037, allocations: 4 kB / 0.9206 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.6038, allocations: 19.91 kB / 0.9206 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.6039, allocations: 4 kB / 0.9206 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.6039, allocations: 7.984 kB / 0.9206 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 7.49e-05/0.604, allocations: 113.5 kB / 0.9207 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.604, allocations: 0 / 0.9207 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002543/0.6042, allocations: 31.94 kB / 0.9208 GB, free: 4.492 MB / 0.6856 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 (8): * Single equations (assignments): 8 * 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.0008481/0.6051, allocations: 0.8021 MB / 0.9215 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.6055, allocations: 124.3 kB / 0.9217 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6056, allocations: 4 kB / 0.9217 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.6058, allocations: 71.81 kB / 0.9217 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.6061, allocations: 40.97 kB / 0.9218 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.6084, allocations: 1.72 MB / 0.9235 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.6087, allocations: 0.7008 MB / 0.9241 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.6088, allocations: 40.41 kB / 0.9242 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.6089, allocations: 38.55 kB / 0.9242 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of SimCode: time 3.81e-07/0.6089, allocations: 0 / 0.9242 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.6289, allocations: 3.359 MB / 0.9275 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.677, allocations: 17.73 kB / 0.9275 GB, free: 13.62 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)