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.0008967/0.0008968, allocations: 90.44 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.005899/0.005899, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.548/1.548, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.675/1.675, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005203/0.0005203, allocations: 19.09 kB / 0.6744 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00185/0.2403, allocations: 1.222 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5445/0.7848, allocations: 128.5 MB / 0.9147 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.7849, allocations: 0.9062 kB / 0.9147 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.7849, allocations: 2.906 kB / 0.9147 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.785, allocations: 13.62 kB / 0.9147 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.7853, allocations: 59.55 kB / 0.9148 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.7854, allocations: 54.69 kB / 0.9148 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.7855, allocations: 13.3 kB / 0.9148 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.7855, allocations: 17.81 kB / 0.9149 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.7856, allocations: 22.95 kB / 0.9149 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.7856, allocations: 2.125 kB / 0.9149 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.7857, allocations: 11.62 kB / 0.9149 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.7857, allocations: 7.078 kB / 0.9149 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.786, allocations: 50.09 kB / 0.9149 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.7861, allocations: 55.7 kB / 0.915 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7861, allocations: 4.781 kB / 0.915 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7861, allocations: 0 / 0.915 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7861, allocations: 2.906 kB / 0.915 GB, free: 21.31 MB / 0.7325 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.0004476/0.7866, allocations: 374.9 kB / 0.9154 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7866, allocations: 13.03 kB / 0.9154 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.7867, allocations: 36.38 kB / 0.9154 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.7867, allocations: 8.625 kB / 0.9154 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/0.7868, allocations: 173 kB / 0.9156 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.7868, allocations: 1.531 kB / 0.9156 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.7868, allocations: 8.812 kB / 0.9156 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.7871, allocations: 91.62 kB / 0.9157 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.7871, allocations: 3.938 kB / 0.9157 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.7871, allocations: 1.641 kB / 0.9157 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.7871, allocations: 2.312 kB / 0.9157 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.7875, allocations: 88.64 kB / 0.9158 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.7878, allocations: 281.3 kB / 0.916 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.7881, allocations: 66.27 kB / 0.9161 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.7882, allocations: 52.3 kB / 0.9162 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.7884, allocations: 90.27 kB / 0.9162 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.7884, allocations: 32.66 kB / 0.9163 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7884, allocations: 2.906 kB / 0.9163 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000606/0.789, allocations: 167.2 kB / 0.9164 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.7891, allocations: 52.91 kB / 0.9165 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.7892, allocations: 118.1 kB / 0.9166 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.7892, allocations: 26.27 kB / 0.9166 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.7892, allocations: 88.28 kB / 0.9167 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.7893, allocations: 12.36 kB / 0.9167 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.7893, allocations: 12.17 kB / 0.9167 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.7894, allocations: 324.1 kB / 0.917 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.7895, allocations: 43.33 kB / 0.9171 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.7897, allocations: 49.39 kB / 0.9171 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.79, allocations: 89.84 kB / 0.9172 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.79, allocations: 0 / 0.9172 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003827/0.7904, allocations: 122.9 kB / 0.9173 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7904, allocations: 5.562 kB / 0.9173 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7905, allocations: 0.6562 kB / 0.9173 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.7905, allocations: 0.9062 kB / 0.9173 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.7906, allocations: 24.5 kB / 0.9174 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7906, allocations: 3.938 kB / 0.9174 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/0.7907, allocations: 23.56 kB / 0.9174 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.7907, allocations: 1.672 kB / 0.9174 GB, free: 19.49 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 8.301e-05/0.7908, allocations: 114.7 kB / 0.9175 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.7909, allocations: 8.906 kB / 0.9175 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.7913, allocations: 132.9 kB / 0.9176 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7913, allocations: 4 kB / 0.9176 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7913, allocations: 0 / 0.9176 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7913, allocations: 1.844 kB / 0.9176 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.7915, allocations: 176.6 kB / 0.9178 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7915, allocations: 0 / 0.9178 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.7916, allocations: 20.81 kB / 0.9178 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7916, allocations: 1.781 kB / 0.9178 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.7916, allocations: 0.5625 kB / 0.9178 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7916, allocations: 4.781 kB / 0.9178 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7916, allocations: 0.5625 kB / 0.9178 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.792, allocations: 224.9 kB / 0.918 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.7921, allocations: 78.86 kB / 0.9181 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.7921, allocations: 2.969 kB / 0.9181 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.7922, allocations: 19.72 kB / 0.9181 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.7923, allocations: 9.719 kB / 0.9182 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.7923, allocations: 1.5 kB / 0.9182 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.7924, allocations: 94.55 kB / 0.9182 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7924, allocations: 0 / 0.9182 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002286/0.7926, allocations: 14.64 kB / 0.9183 GB, free: 18.82 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.0007093/0.7933, allocations: 0.7627 MB / 0.919 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.7937, allocations: 93.33 kB / 0.9191 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7937, allocations: 0 / 0.9191 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.7939, allocations: 48.69 kB / 0.9191 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.7942, allocations: 13.95 kB / 0.9191 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.7964, allocations: 1.494 MB / 0.9206 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.7967, allocations: 0.6833 MB / 0.9213 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.7968, allocations: 7.203 kB / 0.9213 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.7968, allocations: 24.97 kB / 0.9213 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.7968, allocations: 0 / 0.9213 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.809, allocations: 1.73 MB / 0.923 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.8092, allocations: 208.7 kB / 0.9232 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.455, allocations: 6.969 kB / 0.9232 GB, free: 15.79 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)