Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.597/2.597, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 82.88 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004847, allocations: 11.88 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001415/0.214, allocations: 0.9821 MB / 0.9792 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8371/1.051, allocations: 111.9 MB / 1.089 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/1.051, allocations: 0.7812 kB / 1.089 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/1.051, allocations: 0 / 1.089 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/1.051, allocations: 8.312 kB / 1.089 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/1.052, allocations: 50.72 kB / 1.089 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.809e-05/1.052, allocations: 14.34 kB / 1.089 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/1.052, allocations: 2.328 kB / 1.089 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/1.052, allocations: 13.41 kB / 1.089 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/1.052, allocations: 11.16 kB / 1.089 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/1.052, allocations: 0.8125 kB / 1.089 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.177e-05/1.052, allocations: 14.3 kB / 1.089 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/1.052, allocations: 11.62 kB / 1.089 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/1.052, allocations: 28.42 kB / 1.089 GB, free: 18.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.185e-05/1.052, allocations: 15.47 kB / 1.089 GB, free: 18.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/1.052, allocations: 0 / 1.089 GB, free: 18.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.052, allocations: 4 kB / 1.089 GB, free: 18.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.052, allocations: 0.7188 kB / 1.089 GB, free: 18.73 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004242/1.053, allocations: 329.1 kB / 1.089 GB, free: 18.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.053, allocations: 13.42 kB / 1.089 GB, free: 18.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/1.053, allocations: 33.92 kB / 1.089 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/1.053, allocations: 9.828 kB / 1.089 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.053, allocations: 165.5 kB / 1.089 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/1.053, allocations: 33.97 kB / 1.089 GB, free: 18.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/1.053, allocations: 5.312 kB / 1.089 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/1.053, allocations: 39.83 kB / 1.089 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.053, allocations: 0 / 1.089 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/1.053, allocations: 3.688 kB / 1.089 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.053, allocations: 0 / 1.089 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/1.054, allocations: 9.938 kB / 1.089 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/1.054, allocations: 158.4 kB / 1.089 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/1.054, allocations: 33.25 kB / 1.09 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/1.054, allocations: 89.53 kB / 1.09 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.054, allocations: 38.69 kB / 1.09 GB, free: 17.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.664e-06/1.054, allocations: 0.75 kB / 1.09 GB, free: 17.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003328/1.055, allocations: 52.53 kB / 1.09 GB, free: 17.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.055, allocations: 52.38 kB / 1.09 GB, free: 17.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/1.055, allocations: 106.4 kB / 1.09 GB, free: 17.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/1.055, allocations: 26.55 kB / 1.09 GB, free: 17.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/1.055, allocations: 80.14 kB / 1.09 GB, free: 17.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/1.055, allocations: 15.02 kB / 1.09 GB, free: 17.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.055, allocations: 0.6562 kB / 1.09 GB, free: 17.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.055, allocations: 315.4 kB / 1.09 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/1.055, allocations: 6.859 kB / 1.09 GB, free: 17.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/1.055, allocations: 9.891 kB / 1.09 GB, free: 17.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/1.055, allocations: 10.88 kB / 1.09 GB, free: 17.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.055, allocations: 3.938 kB / 1.09 GB, free: 17.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002042/1.056, allocations: 52.38 kB / 1.09 GB, free: 17.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.056, allocations: 6.5 kB / 1.09 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.056, allocations: 1.125 kB / 1.09 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.056, allocations: 0 / 1.09 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.056, allocations: 11.25 kB / 1.09 GB, free: 17.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.056, allocations: 0 / 1.09 GB, free: 17.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/1.056, allocations: 5.5 kB / 1.09 GB, free: 17.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/1.056, allocations: 5.094 kB / 1.09 GB, free: 17.02 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/1.056, allocations: 116.8 kB / 1.09 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/1.056, allocations: 1.375 kB / 1.09 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/1.056, allocations: 61.17 kB / 1.091 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/1.056, allocations: 0 / 1.091 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.056, allocations: 0.75 kB / 1.091 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.056, allocations: 0.7188 kB / 1.091 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/1.056, allocations: 156.9 kB / 1.091 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.056, allocations: 5.062 kB / 1.091 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/1.056, allocations: 7.078 kB / 1.091 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/1.057, allocations: 0 / 1.091 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.057, allocations: 0.9688 kB / 1.091 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.057, allocations: 0 / 1.091 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.057, allocations: 1.031 kB / 1.091 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/1.057, allocations: 83.95 kB / 1.091 GB, free: 16.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/1.057, allocations: 88.61 kB / 1.091 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.057, allocations: 0.8438 kB / 1.091 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/1.057, allocations: 1 kB / 1.091 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/1.057, allocations: 7.469 kB / 1.091 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/1.057, allocations: 0.625 kB / 1.091 GB, free: 16.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.316e-05/1.057, allocations: 79.89 kB / 1.091 GB, free: 16.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/1.057, allocations: 0 / 1.091 GB, free: 16.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002976/1.057, allocations: 14.69 kB / 1.091 GB, free: 16.42 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006191/1.058, allocations: 0.6187 MB / 1.092 GB, free: 15.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001983/1.058, allocations: 27.91 kB / 1.092 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.058, allocations: 1.312 kB / 1.092 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/1.058, allocations: 11.48 kB / 1.092 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/1.059, allocations: 9.625 kB / 1.092 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/1.059, allocations: 172.3 kB / 1.092 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/1.059, allocations: 0.6789 MB / 1.092 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.17e-05/1.06, allocations: 6.703 kB / 1.092 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/1.06, allocations: 12.34 kB / 1.092 GB, free: 14.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.06, allocations: 3.938 kB / 1.092 GB, free: 14.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/1.084, allocations: 1.125 MB / 1.094 GB, free: 14.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.084, allocations: 203.2 kB / 1.094 GB, free: 14.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.425, allocations: 0 / 1.094 GB, free: 14.58 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)