Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_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.001267/0.001268, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001634/0.001634, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.684/1.684, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9998/0.9998, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1551, allocations: 82.32 MB / 0.5881 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001319/0.1565, allocations: 1.207 MB / 0.5893 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3849/0.5414, allocations: 128.5 MB / 0.7148 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.5415, allocations: 1.125 kB / 0.7148 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.5416, allocations: 5.156 kB / 0.7148 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.5417, allocations: 6.625 kB / 0.7148 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.5421, allocations: 63.7 kB / 0.7148 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.5422, allocations: 55.95 kB / 0.7149 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.5423, allocations: 11.33 kB / 0.7149 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.5424, allocations: 18.84 kB / 0.7149 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.5425, allocations: 19.66 kB / 0.7149 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.5425, allocations: 2.844 kB / 0.7149 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.5426, allocations: 14.42 kB / 0.715 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.5427, allocations: 11.11 kB / 0.715 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.5427, allocations: 49.3 kB / 0.715 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.5429, allocations: 53.16 kB / 0.7151 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5429, allocations: 0 / 0.7151 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5429, allocations: 1.5 kB / 0.7151 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.543, allocations: 0 / 0.7151 GB, free: 13.12 MB / 0.545 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.0006536/0.5436, allocations: 377.9 kB / 0.7154 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.5437, allocations: 9.859 kB / 0.7154 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.5438, allocations: 36.97 kB / 0.7155 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.5438, allocations: 7.344 kB / 0.7155 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.544, allocations: 172.2 kB / 0.7156 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.544, allocations: 1.938 kB / 0.7157 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.544, allocations: 6.797 kB / 0.7157 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.5444, allocations: 86.89 kB / 0.7157 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5444, allocations: 7.922 kB / 0.7157 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5444, allocations: 0 / 0.7157 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.5444, allocations: 1.281 kB / 0.7157 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.5448, allocations: 94.39 kB / 0.7158 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.5453, allocations: 290.2 kB / 0.7161 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.5455, allocations: 65.17 kB / 0.7162 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.5457, allocations: 54.88 kB / 0.7162 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.5459, allocations: 89.44 kB / 0.7163 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5459, allocations: 32.25 kB / 0.7163 GB, free: 11.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 3.286e-06/0.5459, allocations: 1.031 kB / 0.7163 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006062/0.5465, allocations: 171.2 kB / 0.7165 GB, free: 11.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.5466, allocations: 52.06 kB / 0.7166 GB, free: 11.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.5467, allocations: 116.7 kB / 0.7167 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.5468, allocations: 26.31 kB / 0.7167 GB, free: 11.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.5468, allocations: 88.06 kB / 0.7168 GB, free: 11.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.5468, allocations: 9.797 kB / 0.7168 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.5469, allocations: 19.42 kB / 0.7168 GB, free: 11.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.547, allocations: 318.3 kB / 0.7171 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.5472, allocations: 40.62 kB / 0.7172 GB, free: 11.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.5474, allocations: 45.17 kB / 0.7172 GB, free: 11.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.5477, allocations: 94.34 kB / 0.7173 GB, free: 11.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5477, allocations: 0 / 0.7173 GB, free: 11.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003647/0.5481, allocations: 124.2 kB / 0.7174 GB, free: 11.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5481, allocations: 4.656 kB / 0.7174 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5481, allocations: 0 / 0.7174 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5481, allocations: 1.797 kB / 0.7174 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5483, allocations: 23.41 kB / 0.7174 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5483, allocations: 2.031 kB / 0.7174 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.074e-05/0.5484, allocations: 23.58 kB / 0.7175 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5484, allocations: 5.734 kB / 0.7175 GB, free: 11.17 MB / 0.545 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 7.768e-05/0.5485, allocations: 113.2 kB / 0.7176 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.5485, allocations: 5.5 kB / 0.7176 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.5489, allocations: 133.1 kB / 0.7177 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5489, allocations: 1.156 kB / 0.7177 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5489, allocations: 0.5625 kB / 0.7177 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5489, allocations: 1.562 kB / 0.7177 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.5491, allocations: 172.9 kB / 0.7179 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5491, allocations: 0.625 kB / 0.7179 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.5492, allocations: 21.53 kB / 0.7179 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5492, allocations: 4 kB / 0.7179 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5492, allocations: 1.656 kB / 0.7179 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5492, allocations: 2.812 kB / 0.7179 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5493, allocations: 1.281 kB / 0.7179 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.5497, allocations: 234.3 kB / 0.7181 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.5497, allocations: 79.3 kB / 0.7182 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5497, allocations: 1 kB / 0.7182 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.5499, allocations: 21.05 kB / 0.7182 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.5499, allocations: 8.359 kB / 0.7182 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.5499, allocations: 0 / 0.7182 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.55, allocations: 97.34 kB / 0.7183 GB, free: 10.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.55, allocations: 0 / 0.7183 GB, free: 10.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002308/0.5502, allocations: 12.5 kB / 0.7183 GB, free: 10.45 MB / 0.545 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.000686/0.5509, allocations: 0.761 MB / 0.7191 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.5513, allocations: 94.3 kB / 0.7192 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5513, allocations: 0 / 0.7192 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.5515, allocations: 45.47 kB / 0.7192 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.5518, allocations: 21.62 kB / 0.7192 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.5537, allocations: 1.497 MB / 0.7207 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.5539, allocations: 0.6866 MB / 0.7214 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.554, allocations: 10.47 kB / 0.7214 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.554, allocations: 19.38 kB / 0.7214 GB, free: 7.758 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.554, allocations: 0 / 0.7214 GB, free: 7.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3997/0.9537, allocations: 1.721 MB / 0.7231 GB, free: 7.609 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.9539, allocations: 194.8 kB / 0.7233 GB, free: 7.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.104, allocations: 4 kB / 0.7233 GB, free: 7.355 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)