Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001151/0.001151, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7993/0.7993, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.5 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4503, allocations: 80.21 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003087/0.4535, allocations: 1.486 MB / 0.5816 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000321/0.4538, allocations: 131.2 kB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.4539, allocations: 5.375 kB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.4539, allocations: 5.531 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.454, allocations: 9.828 kB / 0.5818 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.4544, allocations: 70.2 kB / 0.5819 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.4545, allocations: 57.86 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4546, allocations: 17.48 kB / 0.5819 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.4547, allocations: 23.77 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.4548, allocations: 30.83 kB / 0.582 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.4548, allocations: 9.219 kB / 0.582 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.4548, allocations: 5.875 kB / 0.582 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.4549, allocations: 13.83 kB / 0.582 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.4549, allocations: 25.73 kB / 0.582 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.4551, allocations: 57.28 kB / 0.5821 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4551, allocations: 0 / 0.5821 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4551, allocations: 0 / 0.5821 GB, free: 3.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.4551, allocations: 0 / 0.5821 GB, free: 3.289 MB / 430.1 MB 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.0006098/0.4557, allocations: 374.1 kB / 0.5824 GB, free: 2.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.4558, allocations: 10.38 kB / 0.5825 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.4558, allocations: 40.73 kB / 0.5825 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.4559, allocations: 3.844 kB / 0.5825 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.456, allocations: 176.5 kB / 0.5827 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.4561, allocations: 29.86 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.4561, allocations: 8.062 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.4564, allocations: 74.25 kB / 0.5828 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4564, allocations: 4 kB / 0.5828 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4564, allocations: 4 kB / 0.5828 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4564, allocations: 1.812 kB / 0.5828 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.4566, allocations: 44.8 kB / 0.5828 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.4573, allocations: 318.7 kB / 0.5831 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.4574, allocations: 51.7 kB / 0.5832 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4575, allocations: 30.3 kB / 0.5832 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4576, allocations: 0 / 0.5832 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4576, allocations: 40.48 kB / 0.5832 GB, free: 2.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4576, allocations: 4 kB / 0.5832 GB, free: 2.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003932/0.458, allocations: 95.06 kB / 0.5833 GB, free: 2.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.458, allocations: 51.97 kB / 0.5834 GB, free: 2.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.4581, allocations: 107.5 kB / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4581, allocations: 26.36 kB / 0.5835 GB, free: 1.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.4582, allocations: 97.05 kB / 0.5836 GB, free: 1.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.4582, allocations: 13.61 kB / 0.5836 GB, free: 1.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.4583, allocations: 18.98 kB / 0.5836 GB, free: 1.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.4583, allocations: 321.7 kB / 0.5839 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.4584, allocations: 21.3 kB / 0.584 GB, free: 1.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4585, allocations: 38.05 kB / 0.584 GB, free: 1.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.4587, allocations: 57.03 kB / 0.5841 GB, free: 1.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4587, allocations: 0 / 0.5841 GB, free: 1.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002436/0.459, allocations: 90.17 kB / 0.5841 GB, free: 1.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.459, allocations: 5.938 kB / 0.5841 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.459, allocations: 0.7812 kB / 0.5841 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4591, allocations: 5.594 kB / 0.5842 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4592, allocations: 21.09 kB / 0.5842 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4592, allocations: 0.9375 kB / 0.5842 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.4593, allocations: 6.562 kB / 0.5842 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.4593, allocations: 2.031 kB / 0.5842 GB, free: 1.375 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.4594, allocations: 116.7 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.4594, allocations: 6.312 kB / 0.5843 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.4594, allocations: 14.5 kB / 0.5843 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4594, allocations: 1.062 kB / 0.5843 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4595, allocations: 0 / 0.5843 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4595, allocations: 5.031 kB / 0.5843 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.4596, allocations: 175.2 kB / 0.5845 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4596, allocations: 0 / 0.5845 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.4597, allocations: 15.89 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4597, allocations: 1.188 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4597, allocations: 0 / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4597, allocations: 0.6094 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4597, allocations: 1.312 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.46, allocations: 178.3 kB / 0.5847 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.46, allocations: 83.8 kB / 0.5848 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.4601, allocations: 0.7812 kB / 0.5848 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4602, allocations: 10.11 kB / 0.5848 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.4602, allocations: 8.469 kB / 0.5848 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4603, allocations: 2.438 kB / 0.5848 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.561e-05/0.4603, allocations: 88.48 kB / 0.5849 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4603, allocations: 4 kB / 0.5849 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000222/0.4605, allocations: 8.062 kB / 0.5849 GB, free: 0.6953 MB / 430.1 MB 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 (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.0004096/0.4609, allocations: 0.709 MB / 0.5856 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.4612, allocations: 58.42 kB / 0.5856 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4612, allocations: 0 / 0.5856 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4613, allocations: 24.66 kB / 0.5856 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.4616, allocations: 8.109 kB / 0.5857 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4632, allocations: 1.334 MB / 0.587 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4635, allocations: 0.6833 MB / 0.5876 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.4636, allocations: 8.094 kB / 0.5876 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.4636, allocations: 23.92 kB / 0.5877 GB, free: 14.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4636, allocations: 0 / 0.5877 GB, free: 14.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.4834, allocations: 1.725 MB / 0.5893 GB, free: 13.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.883, allocations: 11.78 kB / 0.5893 GB, free: 13.67 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)