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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 152 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.001185/0.001185, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002349/0.002349, allocations: 279.2 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9605/0.9605, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002945/0.002945, allocations: 101.5 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1978, allocations: 86.97 MB / 0.6803 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003525/0.2014, allocations: 1.644 MB / 0.6819 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5003/0.7017, allocations: 151.5 MB / 0.8299 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.7018, allocations: 9.25 kB / 0.8299 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.702, allocations: 14.3 kB / 0.8299 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.7022, allocations: 49.31 kB / 0.8299 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.7026, allocations: 146 kB / 0.8301 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.7028, allocations: 116 kB / 0.8302 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.7029, allocations: 35.34 kB / 0.8302 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.7039, allocations: 155.2 kB / 0.8304 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.704, allocations: 51.45 kB / 0.8304 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.704, allocations: 6.812 kB / 0.8304 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.7044, allocations: 181.8 kB / 0.8306 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.7044, allocations: 26.45 kB / 0.8306 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.7045, allocations: 43.59 kB / 0.8307 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.7048, allocations: 183.2 kB / 0.8308 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7048, allocations: 1.688 kB / 0.8308 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7048, allocations: 1.656 kB / 0.8308 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.7048, allocations: 0 / 0.8308 GB, free: 0.8281 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00063/0.7055, allocations: 442.8 kB / 0.8313 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7055, allocations: 12.47 kB / 0.8313 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.7055, allocations: 42.7 kB / 0.8313 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/0.7065, allocations: 79.69 kB / 0.8314 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.7067, allocations: 210.7 kB / 0.8316 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.7067, allocations: 6.719 kB / 0.8316 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.7067, allocations: 5.469 kB / 0.8316 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.7072, allocations: 132.3 kB / 0.8317 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7072, allocations: 0 / 0.8317 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.7072, allocations: 1.375 kB / 0.8317 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7072, allocations: 5.312 kB / 0.8317 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.7077, allocations: 139.5 kB / 0.8319 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.7085, allocations: 417.4 kB / 0.8323 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.7092, allocations: 251.9 kB / 0.8325 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.7095, allocations: 78.22 kB / 0.8326 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.7095, allocations: 1.125 kB / 0.8326 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.7095, allocations: 34.88 kB / 0.8326 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/0.7096, allocations: 9.016 kB / 0.8326 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007938/0.7104, allocations: 211.7 kB / 0.8328 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.7104, allocations: 56.53 kB / 0.8329 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.7106, allocations: 150.1 kB / 0.833 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.7106, allocations: 25.7 kB / 0.8331 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.7107, allocations: 107 kB / 0.8332 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.7107, allocations: 35.27 kB / 0.8332 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.7108, allocations: 23.52 kB / 0.8332 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7109, allocations: 324.5 kB / 0.8335 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.7111, allocations: 53.45 kB / 0.8336 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.7113, allocations: 80.14 kB / 0.8336 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.7117, allocations: 118 kB / 0.8338 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7118, allocations: 0 / 0.8338 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004897/0.7122, allocations: 164.4 kB / 0.8339 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7123, allocations: 5.812 kB / 0.8339 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7123, allocations: 0 / 0.8339 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7123, allocations: 0 / 0.8339 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.7125, allocations: 30.72 kB / 0.834 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7125, allocations: 5.234 kB / 0.834 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.7127, allocations: 20 kB / 0.834 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.7127, allocations: 6.641 kB / 0.834 GB, free: 14.88 MB / 0.5762 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.744e-05/0.7128, allocations: 125.5 kB / 0.8341 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.7129, allocations: 8.625 kB / 0.8341 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.7129, allocations: 17.97 kB / 0.8341 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7129, allocations: 1.062 kB / 0.8341 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7129, allocations: 2.344 kB / 0.8341 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7129, allocations: 1.375 kB / 0.8341 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008444/0.7138, allocations: 467.8 kB / 0.8346 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7138, allocations: 1.094 kB / 0.8346 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.714, allocations: 30.83 kB / 0.8346 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.714, allocations: 0 / 0.8346 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.714, allocations: 3.719 kB / 0.8346 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.714, allocations: 5 kB / 0.8346 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.714, allocations: 0 / 0.8346 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.7146, allocations: 259.5 kB / 0.8349 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.7147, allocations: 85.61 kB / 0.8349 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.7147, allocations: 1.219 kB / 0.8349 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.7149, allocations: 26.78 kB / 0.835 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.7149, allocations: 4.344 kB / 0.835 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.715, allocations: 6.438 kB / 0.835 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.733e-05/0.7151, allocations: 113.7 kB / 0.8351 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7151, allocations: 3.938 kB / 0.8351 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002903/0.7154, allocations: 39.56 kB / 0.8351 GB, free: 14.1 MB / 0.5762 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.000943/0.7163, allocations: 0.7984 MB / 0.8359 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005547/0.7169, allocations: 130.9 kB / 0.836 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7169, allocations: 0 / 0.836 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.7171, allocations: 66.86 kB / 0.8361 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.7176, allocations: 42.3 kB / 0.8361 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.7208, allocations: 1.724 MB / 0.8378 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.7212, allocations: 0.7013 MB / 0.8385 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.7214, allocations: 33.81 kB / 0.8385 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.7215, allocations: 28.03 kB / 0.8386 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.7215, allocations: 0 / 0.8386 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.745, allocations: 3.335 MB / 0.8418 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.651, allocations: 7.344 kB / 0.8418 GB, free: 10.47 MB / 0.5762 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)