Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",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.001015/0.001015, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001333/0.001333, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006004/0.0006005, allocations: 17.5 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3095, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001745/0.3113, allocations: 1.195 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3126, allocations: 0.7627 MB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.3127, allocations: 3.938 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.3127, allocations: 3.938 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.3128, allocations: 7.938 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3132, allocations: 111.5 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.3133, allocations: 47.84 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3134, allocations: 16.27 kB / 0.7895 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.3135, allocations: 19.92 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.3136, allocations: 15.92 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3136, allocations: 4 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.3139, allocations: 171.7 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.314, allocations: 3.938 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.314, allocations: 33.7 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3142, allocations: 103.7 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3142, allocations: 8 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3142, allocations: 0 / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3142, allocations: 0 / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006067/0.3148, allocations: 395.2 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.3149, allocations: 8.031 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.315, allocations: 42.55 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.315, allocations: 11.91 kB / 0.7903 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3152, allocations: 175 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3152, allocations: 0 / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3152, allocations: 4 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.3155, allocations: 85.64 kB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3155, allocations: 0 / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3156, allocations: 4 kB / 0.7905 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3156, allocations: 4 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.3159, allocations: 87.92 kB / 0.7906 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.3164, allocations: 284.6 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3166, allocations: 70.55 kB / 0.791 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3168, allocations: 56.91 kB / 0.791 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.317, allocations: 89.09 kB / 0.7911 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.3171, allocations: 34.56 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3171, allocations: 3.938 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005947/0.3177, allocations: 173.4 kB / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.3177, allocations: 55.39 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3179, allocations: 109.8 kB / 0.7915 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3179, allocations: 29.7 kB / 0.7915 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.3179, allocations: 92.08 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.318, allocations: 3.906 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.318, allocations: 0 / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3182, allocations: 322.8 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3183, allocations: 43.97 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3185, allocations: 43.95 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3186, allocations: 39.97 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3186, allocations: 0 / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003278/0.319, allocations: 125.8 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.319, allocations: 11.98 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.319, allocations: 0 / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.319, allocations: 8.031 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3192, allocations: 19.98 kB / 0.7922 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.3192, allocations: 3.953 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.3193, allocations: 15.98 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3193, allocations: 0 / 0.7922 GB, free: 6.676 MB / 0.6075 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.3194, allocations: 117.8 kB / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3194, allocations: 3.906 kB / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.3198, allocations: 137.4 kB / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3198, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3198, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3199, allocations: 3.953 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3201, allocations: 173.7 kB / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3201, allocations: 3.984 kB / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.3202, allocations: 19.98 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3202, allocations: 4 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3202, allocations: 0 / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3202, allocations: 0 / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3202, allocations: 3.938 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.3206, allocations: 219.4 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.3207, allocations: 85.02 kB / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3207, allocations: 0 / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.3208, allocations: 23.98 kB / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.3209, allocations: 7.922 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.3209, allocations: 0 / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.3209, allocations: 95.66 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3209, allocations: 0 / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002952/0.3212, allocations: 31.98 kB / 0.7931 GB, free: 5.656 MB / 0.6075 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007973/0.322, allocations: 0.7864 MB / 0.7938 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.3224, allocations: 95.86 kB / 0.7939 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3224, allocations: 3.938 kB / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3225, allocations: 43.97 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3228, allocations: 18.66 kB / 0.794 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.324, allocations: 0.5743 MB / 0.7946 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3243, allocations: 0.6848 MB / 0.7952 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.3244, allocations: 4 kB / 0.7952 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.3244, allocations: 19.42 kB / 0.7952 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3244, allocations: 0 / 0.7952 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.338, allocations: 2.077 MB / 0.7973 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.3383, allocations: 189.2 kB / 0.7975 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.185, allocations: 0 / 0.7975 GB, free: 1.148 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: