Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_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.001626/0.001626, allocations: 103.3 kB / 16.4 MB, free: 5.996 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.001964/0.001964, allocations: 189.7 kB / 17.34 MB, free: 5.617 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7552/0.7552, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 69.25 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002916/0.1387, allocations: 1.634 MB / 0.6332 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4675/0.6062, allocations: 151.5 MB / 0.7812 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.6064, allocations: 1.125 kB / 0.7812 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.6067, allocations: 20.78 kB / 0.7812 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.607, allocations: 42.36 kB / 0.7812 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.6075, allocations: 143.5 kB / 0.7814 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.6077, allocations: 123.9 kB / 0.7815 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.6078, allocations: 33.25 kB / 0.7815 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.609, allocations: 164.4 kB / 0.7817 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.6091, allocations: 49.5 kB / 0.7817 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.6092, allocations: 8.438 kB / 0.7817 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.6096, allocations: 177.9 kB / 0.7819 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.6096, allocations: 27.12 kB / 0.7819 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.6097, allocations: 44.53 kB / 0.782 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.6101, allocations: 186.5 kB / 0.7821 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6101, allocations: 1.094 kB / 0.7821 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6101, allocations: 1.203 kB / 0.7821 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.6101, allocations: 0 / 0.7821 GB, free: 13.77 MB / 0.5919 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.0007407/0.6109, allocations: 449.2 kB / 0.7826 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6109, allocations: 9.656 kB / 0.7826 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.75e-05/0.611, allocations: 42.78 kB / 0.7826 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.6119, allocations: 78.75 kB / 0.7827 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.6122, allocations: 209.1 kB / 0.7829 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.6122, allocations: 10.19 kB / 0.7829 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.6123, allocations: 7.078 kB / 0.7829 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.6127, allocations: 132.4 kB / 0.783 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6127, allocations: 5.156 kB / 0.783 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.6128, allocations: 0 / 0.783 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.6128, allocations: 6.406 kB / 0.783 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006139/0.6134, allocations: 138.9 kB / 0.7832 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.6142, allocations: 413 kB / 0.7836 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.6149, allocations: 257.9 kB / 0.7838 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.6152, allocations: 72.7 kB / 0.7839 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.6152, allocations: 12.38 kB / 0.7839 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6152, allocations: 37.8 kB / 0.7839 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.6152, allocations: 0 / 0.7839 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0008011/0.616, allocations: 210.9 kB / 0.7841 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.6161, allocations: 52.5 kB / 0.7842 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.6162, allocations: 151.5 kB / 0.7843 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.6163, allocations: 26.83 kB / 0.7844 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.6163, allocations: 101.9 kB / 0.7845 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.6164, allocations: 30 kB / 0.7845 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.6164, allocations: 25 kB / 0.7845 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6165, allocations: 330.4 kB / 0.7848 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.6168, allocations: 51.42 kB / 0.7849 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.617, allocations: 76.78 kB / 0.7849 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.6175, allocations: 123.6 kB / 0.7851 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6175, allocations: 0 / 0.7851 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004838/0.618, allocations: 159.6 kB / 0.7852 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.618, allocations: 8.125 kB / 0.7852 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.618, allocations: 2.734 kB / 0.7852 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.618, allocations: 2.5 kB / 0.7852 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.6182, allocations: 25.42 kB / 0.7853 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6183, allocations: 2.938 kB / 0.7853 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.6184, allocations: 20.12 kB / 0.7853 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.6184, allocations: 6.531 kB / 0.7853 GB, free: 11.84 MB / 0.5919 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.773e-05/0.6185, allocations: 124.7 kB / 0.7854 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.6186, allocations: 9.531 kB / 0.7854 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.6186, allocations: 16.92 kB / 0.7854 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6187, allocations: 0 / 0.7854 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6187, allocations: 1.203 kB / 0.7854 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6187, allocations: 4.875 kB / 0.7854 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008315/0.6195, allocations: 466 kB / 0.7859 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6195, allocations: 0 / 0.7859 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.6197, allocations: 37.69 kB / 0.7859 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6197, allocations: 0 / 0.7859 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6197, allocations: 0 / 0.7859 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.6198, allocations: 7.938 kB / 0.7859 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6198, allocations: 2.531 kB / 0.7859 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.6203, allocations: 261.2 kB / 0.7862 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.6204, allocations: 86 kB / 0.7863 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.6204, allocations: 1.219 kB / 0.7863 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.6206, allocations: 21.77 kB / 0.7863 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.6207, allocations: 6.734 kB / 0.7863 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.6207, allocations: 2.312 kB / 0.7863 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.844e-05/0.6208, allocations: 120.9 kB / 0.7864 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6208, allocations: 0 / 0.7864 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000296/0.6211, allocations: 31.78 kB / 0.7864 GB, free: 11.06 MB / 0.5919 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.0009762/0.6221, allocations: 0.8071 MB / 0.7872 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.6226, allocations: 127.5 kB / 0.7873 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6226, allocations: 5.031 kB / 0.7873 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.6229, allocations: 66.2 kB / 0.7874 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.6232, allocations: 37.92 kB / 0.7874 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.626, allocations: 1.733 MB / 0.7891 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.6263, allocations: 0.6992 MB / 0.7898 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.6265, allocations: 33.81 kB / 0.7898 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.6266, allocations: 32.47 kB / 0.7899 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.6266, allocations: 0 / 0.7899 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9154/1.542, allocations: 3.414 MB / 0.7932 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.98, allocations: 2.812 kB / 0.7932 GB, free: 7.949 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)