Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_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.004893/0.004892, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001295/0.001295, allocations: 194.4 kB / 16.67 MB, free: 6.391 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.5 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.91 kB / 0.5857 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5343, allocations: 81.02 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003093/0.5375, allocations: 1.483 MB / 0.6663 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.539, allocations: 0.8114 MB / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.5391, allocations: 1.125 kB / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.5392, allocations: 3.938 kB / 0.6671 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.5393, allocations: 9 kB / 0.6671 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.5398, allocations: 135.7 kB / 0.6672 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.5399, allocations: 52.45 kB / 0.6673 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.5401, allocations: 14.36 kB / 0.6673 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.5402, allocations: 20.69 kB / 0.6673 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.5402, allocations: 21.59 kB / 0.6673 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.5403, allocations: 8.75 kB / 0.6673 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.5407, allocations: 172.9 kB / 0.6675 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.5407, allocations: 9.219 kB / 0.6675 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.5408, allocations: 25.86 kB / 0.6675 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.5411, allocations: 148.4 kB / 0.6677 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5411, allocations: 0 / 0.6677 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5411, allocations: 1.312 kB / 0.6677 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.5412, allocations: 0 / 0.6677 GB, free: 4.695 MB / 0.4981 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.0005701/0.5417, allocations: 400.7 kB / 0.6681 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.5418, allocations: 12.84 kB / 0.6681 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.5418, allocations: 36.11 kB / 0.6681 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.5419, allocations: 11.83 kB / 0.6681 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.542, allocations: 171.1 kB / 0.6683 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.542, allocations: 1.906 kB / 0.6683 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.542, allocations: 3.406 kB / 0.6683 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.5423, allocations: 73.67 kB / 0.6684 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5423, allocations: 3.938 kB / 0.6684 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5423, allocations: 4 kB / 0.6684 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.5423, allocations: 1.5 kB / 0.6684 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.5426, allocations: 69.42 kB / 0.6684 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.543, allocations: 295.4 kB / 0.6687 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.5433, allocations: 56.58 kB / 0.6688 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.5434, allocations: 40.28 kB / 0.6688 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.5436, allocations: 88.56 kB / 0.6689 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.5436, allocations: 31.84 kB / 0.6689 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.384e-06/0.5436, allocations: 4 kB / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000559/0.5442, allocations: 131.8 kB / 0.6691 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.5443, allocations: 59.39 kB / 0.6691 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.5443, allocations: 116.2 kB / 0.6692 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.5444, allocations: 25.7 kB / 0.6693 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.5444, allocations: 94.92 kB / 0.6693 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.5444, allocations: 9.438 kB / 0.6694 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.5445, allocations: 16.95 kB / 0.6694 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.5445, allocations: 320.3 kB / 0.6697 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.5447, allocations: 33.52 kB / 0.6697 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.5448, allocations: 32.88 kB / 0.6697 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.5451, allocations: 68.03 kB / 0.6698 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5451, allocations: 4 kB / 0.6698 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/0.5454, allocations: 99.25 kB / 0.6699 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.5455, allocations: 10.09 kB / 0.6699 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5455, allocations: 1.062 kB / 0.6699 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5455, allocations: 0 / 0.6699 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5456, allocations: 14.77 kB / 0.6699 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5456, allocations: 5.391 kB / 0.6699 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.5457, allocations: 14.23 kB / 0.6699 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.5458, allocations: 1.094 kB / 0.6699 GB, free: 2.523 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.354e-05/0.5458, allocations: 120.2 kB / 0.6701 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.5459, allocations: 6.516 kB / 0.6701 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.5463, allocations: 109.8 kB / 0.6702 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5463, allocations: 0 / 0.6702 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5463, allocations: 1.562 kB / 0.6702 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5463, allocations: 4.031 kB / 0.6702 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.5465, allocations: 174.6 kB / 0.6703 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5465, allocations: 4 kB / 0.6703 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.5466, allocations: 13.89 kB / 0.6704 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5466, allocations: 1.188 kB / 0.6704 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.5466, allocations: 0 / 0.6704 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.5466, allocations: 5.391 kB / 0.6704 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5466, allocations: 0 / 0.6704 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.547, allocations: 200.8 kB / 0.6706 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.547, allocations: 78.27 kB / 0.6706 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.5471, allocations: 1.219 kB / 0.6706 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5472, allocations: 26.28 kB / 0.6707 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.5473, allocations: 6.656 kB / 0.6707 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5473, allocations: 0 / 0.6707 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.5473, allocations: 97.08 kB / 0.6708 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5473, allocations: 4 kB / 0.6708 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003051/0.5476, allocations: 30.66 kB / 0.6708 GB, free: 1.703 MB / 0.4981 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 (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.0008189/0.5485, allocations: 0.7629 MB / 0.6715 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.5489, allocations: 70.92 kB / 0.6716 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5489, allocations: 0 / 0.6716 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.549, allocations: 40.95 kB / 0.6716 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.5494, allocations: 9.406 kB / 0.6717 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.5516, allocations: 1.432 MB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.5521, allocations: 0.6814 MB / 0.6737 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.132e-05/0.5522, allocations: 2.781 kB / 0.6737 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.5522, allocations: 25.83 kB / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.5522, allocations: 0 / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.5823, allocations: 2.437 MB / 0.6761 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.54, allocations: 7.812 kB / 0.6761 GB, free: 13.58 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)