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.00777/0.00777, allocations: 104.3 kB / 15.74 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001815, allocations: 191.9 kB / 16.67 MB, free: 6.352 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.84 kB / 0.5808 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5103, allocations: 80.2 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003339/0.5137, allocations: 1.496 MB / 0.6606 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.5141, allocations: 137 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.5142, allocations: 0 / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.5142, allocations: 5.344 kB / 0.6608 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.5143, allocations: 5.312 kB / 0.6608 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.5146, allocations: 68.52 kB / 0.6608 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.5148, allocations: 62.3 kB / 0.6609 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5149, allocations: 18.48 kB / 0.6609 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.5149, allocations: 22.62 kB / 0.6609 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.515, allocations: 36.33 kB / 0.661 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.5151, allocations: 4.188 kB / 0.661 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.5151, allocations: 5.625 kB / 0.661 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.5151, allocations: 14.48 kB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.5152, allocations: 25.19 kB / 0.661 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.5153, allocations: 54.31 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5153, allocations: 0.7969 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5154, allocations: 0 / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5154, allocations: 1.125 kB / 0.6611 GB, free: 8.586 MB / 0.4981 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.0005576/0.5159, allocations: 379.5 kB / 0.6614 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.516, allocations: 9.906 kB / 0.6614 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.516, allocations: 37.11 kB / 0.6615 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.5161, allocations: 3.812 kB / 0.6615 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.5162, allocations: 172.9 kB / 0.6616 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.5163, allocations: 31.2 kB / 0.6617 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.5163, allocations: 2.969 kB / 0.6617 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.5165, allocations: 85.28 kB / 0.6618 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5166, allocations: 3.938 kB / 0.6618 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5166, allocations: 1.312 kB / 0.6618 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5166, allocations: 0 / 0.6618 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.5168, allocations: 49.56 kB / 0.6618 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.5174, allocations: 321.8 kB / 0.6621 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.5175, allocations: 48.03 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.5176, allocations: 29.62 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.5176, allocations: 1.031 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5177, allocations: 32.06 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5177, allocations: 1.312 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000357/0.518, allocations: 102 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5181, allocations: 51.92 kB / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.5181, allocations: 112.3 kB / 0.6625 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.5182, allocations: 26.92 kB / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.5182, allocations: 94.98 kB / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.5182, allocations: 11.81 kB / 0.6626 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.5182, allocations: 22.48 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.5183, allocations: 321.6 kB / 0.6629 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.5184, allocations: 16.86 kB / 0.663 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.031e-05/0.5185, allocations: 37.67 kB / 0.663 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.5187, allocations: 60.02 kB / 0.663 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5187, allocations: 1.406 kB / 0.663 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002153/0.5189, allocations: 82.05 kB / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5189, allocations: 5.656 kB / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5189, allocations: 1.031 kB / 0.6631 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.519, allocations: 5.734 kB / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5191, allocations: 21.12 kB / 0.6632 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5191, allocations: 5.562 kB / 0.6632 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.5191, allocations: 10.06 kB / 0.6632 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.5191, allocations: 1.188 kB / 0.6632 GB, free: 6.668 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.5192, allocations: 117.1 kB / 0.6633 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.5192, allocations: 2.984 kB / 0.6633 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.5193, allocations: 9.469 kB / 0.6633 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5193, allocations: 1.859 kB / 0.6633 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5193, allocations: 0 / 0.6633 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5193, allocations: 1.656 kB / 0.6633 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.5194, allocations: 187 kB / 0.6635 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5195, allocations: 0 / 0.6635 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.5195, allocations: 11.61 kB / 0.6635 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5195, allocations: 1.531 kB / 0.6635 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.5195, allocations: 3.984 kB / 0.6635 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5196, allocations: 0.5156 kB / 0.6635 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5196, allocations: 1 kB / 0.6635 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.5198, allocations: 187.5 kB / 0.6637 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.5198, allocations: 78.67 kB / 0.6638 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.5198, allocations: 1.562 kB / 0.6638 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.52, allocations: 9.719 kB / 0.6638 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.52, allocations: 2.656 kB / 0.6638 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.52, allocations: 4.219 kB / 0.6638 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.5201, allocations: 91.38 kB / 0.6639 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5201, allocations: 1.188 kB / 0.6639 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002219/0.5203, allocations: 18.73 kB / 0.6639 GB, free: 5.969 MB / 0.4981 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 (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.0004387/0.5208, allocations: 0.7055 MB / 0.6646 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.521, allocations: 53.2 kB / 0.6646 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.521, allocations: 0 / 0.6646 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.5211, allocations: 29.38 kB / 0.6646 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.5214, allocations: 6.828 kB / 0.6646 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5227, allocations: 1.325 MB / 0.6659 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.5229, allocations: 0.6846 MB / 0.6666 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.425e-05/0.5229, allocations: 12.03 kB / 0.6666 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.523, allocations: 21.92 kB / 0.6666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.523, allocations: 0 / 0.6666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.5414, allocations: 1.764 MB / 0.6684 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.263, allocations: 5.984 kB / 0.6684 GB, free: 2.379 MB / 0.4981 GB (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)