Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.0009487/0.0009487, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000996/0.0009959, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6719/0.6719, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 64.23 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1162, allocations: 80.19 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001835/0.118, allocations: 1.328 MB / 0.5808 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1191, allocations: 0.8593 MB / 0.5816 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.1191, allocations: 4 kB / 0.5816 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.1191, allocations: 0 / 0.5816 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.1192, allocations: 7.922 kB / 0.5816 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1195, allocations: 107.6 kB / 0.5817 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.775e-05/0.1196, allocations: 27.86 kB / 0.5818 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.898e-05/0.1196, allocations: 0 / 0.5818 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.1196, allocations: 11.94 kB / 0.5818 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.1197, allocations: 15.98 kB / 0.5818 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1197, allocations: 0 / 0.5818 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.12, allocations: 171.7 kB / 0.582 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.12, allocations: 4 kB / 0.582 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.12, allocations: 15.92 kB / 0.582 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1202, allocations: 116 kB / 0.5821 GB, free: 6.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1202, allocations: 4 kB / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1202, allocations: 0 / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.1203, allocations: 0 / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003374/0.1206, allocations: 364.6 kB / 0.5824 GB, free: 6.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1206, allocations: 8.031 kB / 0.5825 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.1207, allocations: 34.73 kB / 0.5825 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.1207, allocations: 8.875 kB / 0.5825 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.455e-05/0.1208, allocations: 164.3 kB / 0.5827 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.1209, allocations: 34.27 kB / 0.5827 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.1209, allocations: 384 / 0.5827 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.121, allocations: 57.92 kB / 0.5827 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.121, allocations: 0 / 0.5827 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.121, allocations: 7.984 kB / 0.5827 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.121, allocations: 0 / 0.5827 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.1211, allocations: 19.98 kB / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.1212, allocations: 157.6 kB / 0.5829 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1214, allocations: 50.5 kB / 0.583 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.1215, allocations: 8.859 kB / 0.583 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.1217, allocations: 186.3 kB / 0.5832 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1217, allocations: 34.5 kB / 0.5832 GB, free: 5.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1217, allocations: 0 / 0.5832 GB, free: 5.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000207/0.1219, allocations: 65.67 kB / 0.5832 GB, free: 5.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.122, allocations: 55.34 kB / 0.5833 GB, free: 4.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.122, allocations: 101.8 kB / 0.5834 GB, free: 4.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1221, allocations: 33.7 kB / 0.5834 GB, free: 4.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.978e-05/0.1221, allocations: 80.14 kB / 0.5835 GB, free: 4.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1221, allocations: 11.8 kB / 0.5835 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.1221, allocations: 21.7 kB / 0.5835 GB, free: 4.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.1222, allocations: 310.8 kB / 0.5838 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.1223, allocations: 8 kB / 0.5838 GB, free: 4.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.1223, allocations: 11.98 kB / 0.5839 GB, free: 4.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.1224, allocations: 28.84 kB / 0.5839 GB, free: 4.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1224, allocations: 4 kB / 0.5839 GB, free: 4.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.1225, allocations: 61.62 kB / 0.5839 GB, free: 4.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1225, allocations: 7.938 kB / 0.5839 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1225, allocations: 0 / 0.5839 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/0.1226, allocations: 0 / 0.5839 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.1226, allocations: 11.98 kB / 0.584 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1226, allocations: 0 / 0.584 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.1227, allocations: 11.94 kB / 0.584 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-06/0.1227, allocations: 0 / 0.584 GB, free: 4.242 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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 5.749e-05/0.1227, allocations: 109.8 kB / 0.5841 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1227, allocations: 11.88 kB / 0.5841 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.1229, allocations: 61.69 kB / 0.5841 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1229, allocations: 7.938 kB / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1229, allocations: 0 / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1229, allocations: 3.984 kB / 0.5842 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.464e-05/0.123, allocations: 161.6 kB / 0.5843 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.123, allocations: 0 / 0.5843 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.1231, allocations: 8 kB / 0.5843 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1231, allocations: 7.969 kB / 0.5843 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1231, allocations: 0 / 0.5843 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1231, allocations: 3.938 kB / 0.5843 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1231, allocations: 3.984 kB / 0.5843 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1232, allocations: 81.11 kB / 0.5844 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1233, allocations: 93.05 kB / 0.5845 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1233, allocations: 3.984 kB / 0.5845 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.1234, allocations: 0 / 0.5845 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.1234, allocations: 4 kB / 0.5845 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1234, allocations: 0 / 0.5845 GB, free: 3.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.659e-05/0.1234, allocations: 87.2 kB / 0.5846 GB, free: 3.496 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1234, allocations: 0 / 0.5846 GB, free: 3.496 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.1236, allocations: 39.94 kB / 0.5846 GB, free: 3.457 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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.0004113/0.124, allocations: 0.6514 MB / 0.5853 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1242, allocations: 31.92 kB / 0.5853 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1242, allocations: 0 / 0.5853 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.1242, allocations: 15.98 kB / 0.5853 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.1244, allocations: 8 kB / 0.5853 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.1247, allocations: 185.4 kB / 0.5855 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.1249, allocations: 0.6731 MB / 0.5862 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.1249, allocations: 11.98 kB / 0.5862 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.125, allocations: 7.438 kB / 0.5862 GB, free: 1.793 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.125, allocations: 0 / 0.5862 GB, free: 1.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.377/1.502, allocations: 1.778 MB / 0.5879 GB, free: 160 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/1.502, allocations: 193.8 kB / 0.5881 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/3.3, allocations: 64 / 0.5881 GB, free: 15.91 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)