Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 176.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008385/0.0008384, allocations: 94.03 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.829e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2317, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8074/1.039, allocations: 132.7 MB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.039, allocations: 70.64 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006787/1.046, allocations: 2.373 MB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.046, allocations: 0 / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.046, allocations: 4 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004361/1.047, allocations: 358.3 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.047, allocations: 8.031 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/1.047, allocations: 11.91 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/1.047, allocations: 174.9 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/1.047, allocations: 33.7 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/1.047, allocations: 4 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.182e-05/1.047, allocations: 22.98 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/1.047, allocations: 48.62 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/1.047, allocations: 0 / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.047, allocations: 0 / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.047, allocations: 4 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/1.048, allocations: 290.8 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/1.048, allocations: 34.31 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/1.048, allocations: 19.67 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/1.048, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.048, allocations: 34.5 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.048, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000165/1.048, allocations: 53.53 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/1.048, allocations: 54.59 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/1.048, allocations: 96.44 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/1.048, allocations: 25.7 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/1.048, allocations: 99.66 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/1.048, allocations: 11.75 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/1.048, allocations: 0 / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.049, allocations: 322.4 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/1.049, allocations: 8.219 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/1.049, allocations: 17.34 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/1.049, allocations: 15.61 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.049, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.69e-05/1.049, allocations: 68.84 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.049, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.049, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.049, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/1.049, allocations: 15.98 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.049, allocations: 7.938 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/1.049, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/1.049, allocations: 8.812 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.625e-05/1.049, allocations: 104.9 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.524e-05/1.049, allocations: 60.91 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/1.049, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/1.049, allocations: 15.45 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/1.049, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.049, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.049, allocations: 3.953 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/1.049, allocations: 148.9 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.049, allocations: 0 / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/1.05, allocations: 19.98 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.05, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/1.05, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.05, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.05, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/1.05, allocations: 154.4 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/1.05, allocations: 81.14 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/1.05, allocations: 11.98 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/1.05, allocations: 19.92 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/1.05, allocations: 3.75 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/1.05, allocations: 4 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.471e-05/1.05, allocations: 86.64 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.05, allocations: 0 / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002122/1.05, allocations: 11.94 kB / 1.02 GB, free: 276 kB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004322/1.051, allocations: 0.6789 MB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.917e-05/1.051, allocations: 29.5 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.051, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/1.051, allocations: 14.69 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/1.051, allocations: 6.625 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/1.051, allocations: 108.3 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/1.052, allocations: 0.6885 MB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.245e-05/1.052, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/1.052, allocations: 15.23 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.052, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/1.07, allocations: 1.159 MB / 1.022 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/1.07, allocations: 165 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/2.488, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)