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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 193.5 kB / 16.53 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 64.23 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.5494, allocations: 80.21 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003163/0.5526, allocations: 1.485 MB / 0.5816 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.554, allocations: 0.8061 MB / 0.5824 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.5541, allocations: 1.156 kB / 0.5824 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.5541, allocations: 4.594 kB / 0.5824 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.5542, allocations: 18.2 kB / 0.5825 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.5547, allocations: 126.2 kB / 0.5826 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.5548, allocations: 59.41 kB / 0.5826 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5549, allocations: 13.25 kB / 0.5826 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.555, allocations: 15.38 kB / 0.5827 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.5551, allocations: 36.45 kB / 0.5827 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.5551, allocations: 3.75 kB / 0.5827 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.5555, allocations: 165.6 kB / 0.5829 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.5555, allocations: 7.344 kB / 0.5829 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.5556, allocations: 28.25 kB / 0.5829 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.5559, allocations: 146.6 kB / 0.583 GB, free: 2.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5559, allocations: 0 / 0.583 GB, free: 2.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5559, allocations: 0.7188 kB / 0.583 GB, free: 2.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.5559, allocations: 0 / 0.583 GB, free: 2.711 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.0005754/0.5565, allocations: 405.9 kB / 0.5834 GB, free: 2.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5566, allocations: 9.812 kB / 0.5834 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.5566, allocations: 32.06 kB / 0.5835 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.5566, allocations: 7.5 kB / 0.5835 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.5568, allocations: 178.1 kB / 0.5836 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.5568, allocations: 5.75 kB / 0.5836 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.5568, allocations: 1.938 kB / 0.5836 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.5571, allocations: 72.22 kB / 0.5837 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5571, allocations: 8.734 kB / 0.5837 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5571, allocations: 0 / 0.5837 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5571, allocations: 1.531 kB / 0.5837 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.5575, allocations: 69.56 kB / 0.5838 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.5579, allocations: 290.2 kB / 0.5841 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5581, allocations: 56.33 kB / 0.5841 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.5582, allocations: 36.73 kB / 0.5841 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.5585, allocations: 93.16 kB / 0.5842 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.5585, allocations: 40.23 kB / 0.5843 GB, free: 1.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.5585, allocations: 0 / 0.5843 GB, free: 1.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005998/0.5591, allocations: 130.3 kB / 0.5844 GB, free: 1.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5591, allocations: 51.41 kB / 0.5844 GB, free: 1.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5592, allocations: 121.4 kB / 0.5846 GB, free: 1.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.5593, allocations: 26.55 kB / 0.5846 GB, free: 1.266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.5593, allocations: 88.59 kB / 0.5847 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5593, allocations: 13.56 kB / 0.5847 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.5594, allocations: 12.78 kB / 0.5847 GB, free: 1.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.5595, allocations: 323.3 kB / 0.585 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.5596, allocations: 35 kB / 0.585 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.5598, allocations: 39.48 kB / 0.5851 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.5601, allocations: 66.03 kB / 0.5851 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5601, allocations: 1.125 kB / 0.5851 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003355/0.5604, allocations: 102.5 kB / 0.5852 GB, free: 0.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5605, allocations: 5.469 kB / 0.5852 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5605, allocations: 0 / 0.5852 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5605, allocations: 1.719 kB / 0.5852 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.5606, allocations: 16.22 kB / 0.5853 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5606, allocations: 0 / 0.5853 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.5607, allocations: 11.58 kB / 0.5853 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.5607, allocations: 5.031 kB / 0.5853 GB, free: 0.7461 MB / 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.991e-05/0.5608, allocations: 122.9 kB / 0.5854 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.5608, allocations: 6.281 kB / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.5612, allocations: 105.5 kB / 0.5855 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5613, allocations: 1.25 kB / 0.5855 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5613, allocations: 0.8438 kB / 0.5855 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5613, allocations: 8.844 kB / 0.5855 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.5614, allocations: 177.2 kB / 0.5857 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5614, allocations: 0 / 0.5857 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.627e-05/0.5615, allocations: 15.67 kB / 0.5857 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5615, allocations: 1.219 kB / 0.5857 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.5616, allocations: 0 / 0.5857 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5616, allocations: 5.672 kB / 0.5857 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5616, allocations: 0 / 0.5857 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.5619, allocations: 204.1 kB / 0.5859 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.5619, allocations: 86.61 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.562, allocations: 1.547 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5621, allocations: 11.83 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.5621, allocations: 2.938 kB / 0.586 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.5622, allocations: 6.125 kB / 0.586 GB, free: 96 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.5622, allocations: 94.89 kB / 0.5861 GB, free: 12 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5622, allocations: 0.875 kB / 0.5861 GB, free: 12 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.5625, allocations: 32.03 kB / 0.5861 GB, free: 4 kB / 430.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.0008737/0.5634, allocations: 0.7549 MB / 0.5869 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.5638, allocations: 66.11 kB / 0.5869 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5638, allocations: 1.438 kB / 0.5869 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.564, allocations: 38.05 kB / 0.587 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.5643, allocations: 14.83 kB / 0.587 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.5666, allocations: 1.426 MB / 0.5884 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.567, allocations: 0.6833 MB / 0.589 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.5671, allocations: 6.422 kB / 0.589 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.5671, allocations: 19.41 kB / 0.5891 GB, free: 13.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5671, allocations: 0 / 0.5891 GB, free: 13.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.5886, allocations: 2.416 MB / 0.5914 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/8.09, allocations: 2.844 kB / 0.5914 GB, free: 12.91 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)