Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 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.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_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.001004/0.001004, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008835/0.008835, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4731, allocations: 81.57 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001443/0.4746, allocations: 1.218 MB / 0.5849 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4757, allocations: 0.8093 MB / 0.5857 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.4757, allocations: 1.188 kB / 0.5857 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.4758, allocations: 4.641 kB / 0.5857 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.4758, allocations: 11.2 kB / 0.5857 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.4762, allocations: 104.5 kB / 0.5858 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.4763, allocations: 57.55 kB / 0.5859 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.4764, allocations: 15.92 kB / 0.5859 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.4764, allocations: 9.844 kB / 0.5859 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.4765, allocations: 28.34 kB / 0.5859 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.4765, allocations: 2.781 kB / 0.5859 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.4769, allocations: 176.7 kB / 0.5861 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.4769, allocations: 3.906 kB / 0.5861 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.4769, allocations: 44.92 kB / 0.5862 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.4772, allocations: 149.6 kB / 0.5863 GB, free: 2.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4772, allocations: 0 / 0.5863 GB, free: 2.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4772, allocations: 5.922 kB / 0.5863 GB, free: 2.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.4772, allocations: 0 / 0.5863 GB, free: 2.164 MB / 430.1 MB 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.0004739/0.4777, allocations: 398.1 kB / 0.5867 GB, free: 1.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4778, allocations: 10.56 kB / 0.5867 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.4778, allocations: 36.25 kB / 0.5867 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.4778, allocations: 4.875 kB / 0.5867 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.8e-05/0.4779, allocations: 179.6 kB / 0.5869 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4779, allocations: 1.875 kB / 0.5869 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.478, allocations: 2.969 kB / 0.5869 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.4782, allocations: 86.28 kB / 0.587 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4783, allocations: 3.938 kB / 0.587 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4783, allocations: 0.5938 kB / 0.587 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4783, allocations: 4.688 kB / 0.587 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.4786, allocations: 97.75 kB / 0.5871 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.479, allocations: 285.9 kB / 0.5874 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.4792, allocations: 69.88 kB / 0.5874 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.4794, allocations: 50.94 kB / 0.5875 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.4796, allocations: 88.95 kB / 0.5876 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.4796, allocations: 36.11 kB / 0.5876 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4796, allocations: 5.031 kB / 0.5876 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006228/0.4802, allocations: 162.8 kB / 0.5878 GB, free: 0.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.4802, allocations: 56.72 kB / 0.5878 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.4803, allocations: 113.2 kB / 0.5879 GB, free: 0.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.4803, allocations: 25.7 kB / 0.5879 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.4804, allocations: 95.47 kB / 0.588 GB, free: 0.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.4804, allocations: 10.53 kB / 0.5881 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.4804, allocations: 10.84 kB / 0.5881 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.4805, allocations: 321.8 kB / 0.5884 GB, free: 288 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4806, allocations: 45.55 kB / 0.5884 GB, free: 280 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4808, allocations: 45.23 kB / 0.5885 GB, free: 272 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.4811, allocations: 94.16 kB / 0.5885 GB, free: 248 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4811, allocations: 3.938 kB / 0.5885 GB, free: 244 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003405/0.4815, allocations: 119 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4815, allocations: 5.156 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4815, allocations: 0.8438 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4815, allocations: 0.75 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4817, allocations: 20.38 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4817, allocations: 1.516 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.4818, allocations: 23.81 kB / 0.5887 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4818, allocations: 1.031 kB / 0.5887 GB, free: 192 kB / 430.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 (3): * Single equations (assignments): 3 * 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.118e-05/0.4818, allocations: 118.3 kB / 0.5888 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4819, allocations: 4.109 kB / 0.5888 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.4822, allocations: 132.5 kB / 0.589 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4823, allocations: 1.375 kB / 0.589 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4823, allocations: 4 kB / 0.589 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4823, allocations: 0.5625 kB / 0.589 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.4825, allocations: 174.7 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4825, allocations: 0 / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4826, allocations: 19.83 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4826, allocations: 0.6094 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4826, allocations: 0.9062 kB / 0.5891 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4826, allocations: 4.641 kB / 0.5892 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4826, allocations: 5.281 kB / 0.5892 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.4831, allocations: 226.6 kB / 0.5894 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.4831, allocations: 79.72 kB / 0.5894 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4832, allocations: 5.484 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.4833, allocations: 15.03 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4833, allocations: 4.281 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.4833, allocations: 5.578 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.028e-05/0.4834, allocations: 92.33 kB / 0.5896 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4834, allocations: 0 / 0.5896 GB, free: 15.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.4837, allocations: 39.86 kB / 0.5896 GB, free: 15.45 MB / 446.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 (3): * Single equations (assignments): 3 * 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.0007737/0.4845, allocations: 0.777 MB / 0.5904 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.4849, allocations: 94.62 kB / 0.5905 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4849, allocations: 0 / 0.5905 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.4851, allocations: 45.05 kB / 0.5905 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.4854, allocations: 18.03 kB / 0.5905 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.4874, allocations: 1.505 MB / 0.592 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4877, allocations: 0.6841 MB / 0.5927 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.539e-05/0.4878, allocations: 6.234 kB / 0.5927 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.4879, allocations: 19.03 kB / 0.5927 GB, free: 12.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4879, allocations: 0 / 0.5927 GB, free: 12.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.5019, allocations: 2.087 MB / 0.5947 GB, free: 12.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/0.5022, allocations: 188.8 kB / 0.5949 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.68, allocations: 0 / 0.5949 GB, free: 12.3 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)