Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7426/0.7426, allocations: 128.7 MB / 143.7 MB, free: 2.348 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 188.3 kB / 173.7 MB, free: 6.152 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009916/0.0009915, allocations: 95.61 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004123, allocations: 9.781 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 76.78 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.3224, allocations: 103.4 MB / 0.7364 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.3228, allocations: 79.89 kB / 0.7365 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.007768/0.3306, allocations: 2.553 MB / 0.7389 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.776e-06/0.3306, allocations: 0 / 0.7389 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.3307, allocations: 0 / 0.7389 GB, free: 4.297 MB / 0.5105 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.0005473/0.3312, allocations: 387 kB / 0.7393 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.3313, allocations: 8.031 kB / 0.7393 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.3314, allocations: 34.56 kB / 0.7394 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.3314, allocations: 11.86 kB / 0.7394 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3316, allocations: 171 kB / 0.7395 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.3317, allocations: 33.7 kB / 0.7396 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3317, allocations: 7.984 kB / 0.7396 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.332, allocations: 77.66 kB / 0.7396 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.332, allocations: 0 / 0.7396 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.332, allocations: 8 kB / 0.7397 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.332, allocations: 0 / 0.7397 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.3322, allocations: 67.84 kB / 0.7397 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.3329, allocations: 296.8 kB / 0.74 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3331, allocations: 58.55 kB / 0.7401 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3331, allocations: 0 / 0.7401 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3331, allocations: 42.45 kB / 0.7401 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3331, allocations: 0 / 0.7401 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0003975/0.3335, allocations: 109.7 kB / 0.7402 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3336, allocations: 51.41 kB / 0.7403 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.3337, allocations: 109 kB / 0.7404 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3337, allocations: 25.7 kB / 0.7404 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.3338, allocations: 95.97 kB / 0.7405 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3338, allocations: 11.81 kB / 0.7405 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.3338, allocations: 4 kB / 0.7405 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.334, allocations: 314.8 kB / 0.7408 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.3341, allocations: 31.91 kB / 0.7408 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3342, allocations: 45.64 kB / 0.7409 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.3343, allocations: 23.98 kB / 0.7409 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3343, allocations: 0 / 0.7409 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002336/0.3345, allocations: 101.7 kB / 0.741 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3346, allocations: 4 kB / 0.741 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3346, allocations: 3.938 kB / 0.741 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3346, allocations: 7.891 kB / 0.741 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3347, allocations: 15.98 kB / 0.741 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3347, allocations: 4 kB / 0.741 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.3348, allocations: 4 kB / 0.741 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3348, allocations: 8 kB / 0.741 GB, free: 1.934 MB / 0.5105 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 () * Number of clocked 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 0.0001105/0.3349, allocations: 113.8 kB / 0.7411 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.335, allocations: 7.906 kB / 0.7411 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.335, allocations: 7.906 kB / 0.7412 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.335, allocations: 7.953 kB / 0.7412 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.335, allocations: 0 / 0.7412 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.335, allocations: 0 / 0.7412 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3352, allocations: 177.9 kB / 0.7413 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3353, allocations: 0 / 0.7413 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.3353, allocations: 19.98 kB / 0.7413 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3354, allocations: 0 / 0.7413 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3354, allocations: 3.984 kB / 0.7414 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3354, allocations: 0 / 0.7414 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3354, allocations: 7.953 kB / 0.7414 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3357, allocations: 187.5 kB / 0.7415 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.3357, allocations: 81.02 kB / 0.7416 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3357, allocations: 128 / 0.7416 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3359, allocations: 19.98 kB / 0.7416 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.3359, allocations: 3.984 kB / 0.7416 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.336, allocations: 11.95 kB / 0.7416 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.421e-05/0.336, allocations: 87.27 kB / 0.7417 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.336, allocations: 0 / 0.7417 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002281/0.3363, allocations: 12 kB / 0.7417 GB, free: 1.098 MB / 0.5105 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 (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.0006136/0.3369, allocations: 0.7199 MB / 0.7424 GB, free: 360 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3371, allocations: 63.95 kB / 0.7425 GB, free: 296 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3371, allocations: 0 / 0.7425 GB, free: 296 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.3372, allocations: 35.91 kB / 0.7425 GB, free: 260 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.3375, allocations: 8.562 kB / 0.7425 GB, free: 252 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3145/0.652, allocations: 0.4923 MB / 0.743 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.6522, allocations: 0.6856 MB / 0.7437 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.6523, allocations: 6.453 kB / 0.7437 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.6523, allocations: 16 kB / 0.7437 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.71e-07/0.6523, allocations: 0.8438 kB / 0.7437 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.6647, allocations: 1.486 MB / 0.7452 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.6649, allocations: 202 kB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.225, allocations: 0 / 0.7454 GB, free: 108.2 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)