Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_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.001495/0.001495, 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.001199/0.001199, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.72 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1844, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002431/0.1869, allocations: 1.5 MB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5319/0.7189, allocations: 132.1 MB / 0.9139 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.719, allocations: 0.8125 kB / 0.9139 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.033e-05/0.7191, allocations: 5.234 kB / 0.9139 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.7191, allocations: 17.59 kB / 0.9139 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.7196, allocations: 62.75 kB / 0.914 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.7197, allocations: 54.42 kB / 0.914 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.7198, allocations: 12.81 kB / 0.914 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.7198, allocations: 25.27 kB / 0.9141 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.7199, allocations: 27.09 kB / 0.9141 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.7199, allocations: 7.969 kB / 0.9141 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.72, allocations: 17.08 kB / 0.9141 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.7201, allocations: 13.02 kB / 0.9141 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.7201, allocations: 20.02 kB / 0.9141 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.7203, allocations: 58.66 kB / 0.9142 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7203, allocations: 0 / 0.9142 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7203, allocations: 2.172 kB / 0.9142 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7203, allocations: 0 / 0.9142 GB, free: 5.625 MB / 0.7169 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.0009073/0.7212, allocations: 384.4 kB / 0.9146 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.7213, allocations: 8.906 kB / 0.9146 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.7213, allocations: 37.39 kB / 0.9146 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.7214, allocations: 3.594 kB / 0.9146 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.7215, allocations: 175.7 kB / 0.9148 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.7216, allocations: 2.188 kB / 0.9148 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.7216, allocations: 2.25 kB / 0.9148 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.7219, allocations: 75.56 kB / 0.9149 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7219, allocations: 9.031 kB / 0.9149 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.7219, allocations: 4.438 kB / 0.9149 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7219, allocations: 5.406 kB / 0.9149 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.7222, allocations: 68.36 kB / 0.9149 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.7226, allocations: 286.1 kB / 0.9152 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.7229, allocations: 50.97 kB / 0.9153 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.723, allocations: 44.62 kB / 0.9153 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.7232, allocations: 88.62 kB / 0.9154 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.7232, allocations: 36.02 kB / 0.9154 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.7232, allocations: 0 / 0.9154 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005479/0.7238, allocations: 127.4 kB / 0.9156 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.7238, allocations: 55.91 kB / 0.9156 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.7239, allocations: 120.4 kB / 0.9157 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.724, allocations: 26.95 kB / 0.9157 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.724, allocations: 91.08 kB / 0.9158 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.724, allocations: 9.547 kB / 0.9158 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.7241, allocations: 13.34 kB / 0.9159 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7242, allocations: 323 kB / 0.9162 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.7244, allocations: 31.83 kB / 0.9162 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.7245, allocations: 35.2 kB / 0.9162 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.7248, allocations: 66.95 kB / 0.9163 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7249, allocations: 0 / 0.9163 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003448/0.7252, allocations: 102.6 kB / 0.9164 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7252, allocations: 4.469 kB / 0.9164 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7252, allocations: 1.312 kB / 0.9164 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7253, allocations: 1.469 kB / 0.9164 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.7254, allocations: 14.5 kB / 0.9164 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7254, allocations: 1.516 kB / 0.9164 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.7255, allocations: 24.73 kB / 0.9164 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.7255, allocations: 4.812 kB / 0.9164 GB, free: 19.82 MB / 0.7325 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.517e-05/0.7256, allocations: 116.2 kB / 0.9166 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.7256, allocations: 2.812 kB / 0.9166 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.726, allocations: 107.9 kB / 0.9167 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7261, allocations: 1.781 kB / 0.9167 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.7261, allocations: 0 / 0.9167 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7261, allocations: 5.703 kB / 0.9167 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.7263, allocations: 172.1 kB / 0.9168 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7263, allocations: 0.5 kB / 0.9168 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.7264, allocations: 21.11 kB / 0.9168 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7264, allocations: 0.75 kB / 0.9168 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.7264, allocations: 2.172 kB / 0.9169 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7264, allocations: 0 / 0.9169 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7264, allocations: 0 / 0.9169 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.7268, allocations: 207.3 kB / 0.917 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.7269, allocations: 82.64 kB / 0.9171 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.7269, allocations: 7.594 kB / 0.9171 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.727, allocations: 11.2 kB / 0.9171 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.7271, allocations: 4.234 kB / 0.9171 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.7271, allocations: 4.719 kB / 0.9172 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.7271, allocations: 93.22 kB / 0.9172 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7271, allocations: 0 / 0.9172 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002536/0.7274, allocations: 16.11 kB / 0.9173 GB, free: 19.14 MB / 0.7325 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.0007462/0.7282, allocations: 0.7396 MB / 0.918 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.7285, allocations: 67.22 kB / 0.918 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7285, allocations: 0.7812 kB / 0.918 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.7287, allocations: 40.3 kB / 0.9181 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.729, allocations: 14.94 kB / 0.9181 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.7309, allocations: 1.428 MB / 0.9195 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.7312, allocations: 0.6828 MB / 0.9202 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.278e-05/0.7313, allocations: 2.547 kB / 0.9202 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.7313, allocations: 22.08 kB / 0.9202 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.7313, allocations: 1.281 kB / 0.9202 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.7493, allocations: 2.038 MB / 0.9222 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.952, allocations: 17.22 kB / 0.9222 GB, free: 16.19 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)