Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.986/1.986, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001453/0.001453, allocations: 176.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009065/0.0009064, allocations: 101.2 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.434e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/0.7248, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.9171, allocations: 139 MB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.9174, allocations: 76.55 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006793/0.9242, allocations: 2.369 MB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9242, allocations: 0 / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9242, allocations: 0 / 1.111 GB, free: 8.707 MB / 0.7136 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.0004087/0.9246, allocations: 372.9 kB / 1.112 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9247, allocations: 12.03 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.9247, allocations: 1.312 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.9249, allocations: 174.9 kB / 1.112 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.9249, allocations: 33.64 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.925, allocations: 5.469 kB / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.524e-05/0.925, allocations: 27.92 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.877e-05/0.9251, allocations: 45.69 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.9252, allocations: 0 / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.9252, allocations: 0.625 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9252, allocations: 5.281 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.9257, allocations: 284.2 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.915e-05/0.9258, allocations: 30.58 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.9258, allocations: 24.34 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.9258, allocations: 0 / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.9258, allocations: 35.75 kB / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.9258, allocations: 4 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001376/0.926, allocations: 45.61 kB / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.926, allocations: 51.94 kB / 1.113 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.9261, allocations: 105.9 kB / 1.113 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.9261, allocations: 25.7 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.9262, allocations: 88.7 kB / 1.113 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.9262, allocations: 16.92 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.9262, allocations: 0 / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9263, allocations: 324.1 kB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.9264, allocations: 8 kB / 1.113 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.9264, allocations: 24.53 kB / 1.113 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.9264, allocations: 18.36 kB / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9264, allocations: 0 / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.773e-05/0.9265, allocations: 65.53 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.9266, allocations: 4 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.9266, allocations: 0 / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.9266, allocations: 0 / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.9267, allocations: 23.23 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.9267, allocations: 2.109 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.9268, allocations: 4 kB / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.9268, allocations: 4 kB / 1.113 GB, free: 6.695 MB / 0.7136 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 6.517e-05/0.9269, allocations: 106.9 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.51e-05/0.927, allocations: 50.66 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.927, allocations: 7.906 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.927, allocations: 12.38 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9271, allocations: 3.938 kB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9271, allocations: 7.922 kB / 1.113 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9271, allocations: 0 / 1.113 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.9272, allocations: 154.2 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9272, allocations: 0 / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.9273, allocations: 15.98 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.9273, allocations: 1.25 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.9273, allocations: 0 / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9274, allocations: 0 / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9274, allocations: 8 kB / 1.114 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.9275, allocations: 147.5 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.9275, allocations: 81.02 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.9276, allocations: 3.984 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.9277, allocations: 15.98 kB / 1.114 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.9277, allocations: 4 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.9278, allocations: 6.438 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.9278, allocations: 87.27 kB / 1.114 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.613e-06/0.9278, allocations: 1.219 kB / 1.114 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002205/0.928, allocations: 15.88 kB / 1.114 GB, free: 5.891 MB / 0.7136 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.0003763/0.9284, allocations: 0.6773 MB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.9285, allocations: 24 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9285, allocations: 4 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.9285, allocations: 15.94 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.9287, allocations: 2.062 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.9291, allocations: 112.1 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.9293, allocations: 0.6885 MB / 1.115 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.9294, allocations: 11.25 kB / 1.115 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.9294, allocations: 15.38 kB / 1.115 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9294, allocations: 0 / 1.115 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09362/1.023, allocations: 1.157 MB / 1.117 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/1.023, allocations: 146.3 kB / 1.117 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.588, allocations: 0 / 1.117 GB, free: 2.957 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)