Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.005338/0.005338, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.001337/0.001337, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8758/0.8758, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4976, allocations: 80.21 MB / 0.6592 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00246/0.5001, allocations: 1.643 MB / 0.6608 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1878/0.6879, allocations: 149.7 MB / 0.807 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.6881, allocations: 4 kB / 0.807 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.6883, allocations: 23.78 kB / 0.807 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.6887, allocations: 55.64 kB / 0.8071 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.6892, allocations: 175.3 kB / 0.8072 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.6895, allocations: 163.5 kB / 0.8074 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.6896, allocations: 27.98 kB / 0.8074 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.6911, allocations: 175.1 kB / 0.8076 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.6912, allocations: 63.75 kB / 0.8076 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.6913, allocations: 16 kB / 0.8076 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.6916, allocations: 167.7 kB / 0.8078 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.6917, allocations: 23.92 kB / 0.8078 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.6918, allocations: 47.78 kB / 0.8079 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.6922, allocations: 198.9 kB / 0.8081 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6922, allocations: 0 / 0.8081 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6922, allocations: 0 / 0.8081 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.6922, allocations: 0 / 0.8081 GB, free: 13.19 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009616/0.6932, allocations: 470.7 kB / 0.8085 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6932, allocations: 8.031 kB / 0.8085 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.6933, allocations: 46.72 kB / 0.8086 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.6939, allocations: 60.55 kB / 0.8086 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.6942, allocations: 198.9 kB / 0.8088 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.6942, allocations: 4 kB / 0.8088 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.6943, allocations: 12 kB / 0.8088 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.6948, allocations: 181.8 kB / 0.809 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6948, allocations: 0 / 0.809 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.6948, allocations: 4 kB / 0.809 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.6948, allocations: 0 / 0.809 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.6954, allocations: 151.7 kB / 0.8091 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.6966, allocations: 0.8284 MB / 0.81 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.6971, allocations: 134.5 kB / 0.8101 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.6973, allocations: 76.8 kB / 0.8102 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.6974, allocations: 3.984 kB / 0.8102 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6974, allocations: 38.5 kB / 0.8102 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.6974, allocations: 0 / 0.8102 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.002006/0.6994, allocations: 455.6 kB / 0.8106 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6995, allocations: 55.34 kB / 0.8107 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.6996, allocations: 148 kB / 0.8108 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.6997, allocations: 29.64 kB / 0.8109 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.6998, allocations: 112.1 kB / 0.811 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.6998, allocations: 27.75 kB / 0.811 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.6999, allocations: 37.69 kB / 0.811 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7, allocations: 318.8 kB / 0.8113 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.7003, allocations: 67.92 kB / 0.8114 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.7006, allocations: 100.2 kB / 0.8115 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.7012, allocations: 188.2 kB / 0.8117 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7012, allocations: 4 kB / 0.8117 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001145/0.7024, allocations: 270.2 kB / 0.8119 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7024, allocations: 7.938 kB / 0.8119 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7024, allocations: 4 kB / 0.8119 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.7031, allocations: 84.89 kB / 0.812 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.7033, allocations: 39.89 kB / 0.8121 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.7059, allocations: 1.662 MB / 0.8137 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.7061, allocations: 23.88 kB / 0.8137 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.7062, allocations: 15.86 kB / 0.8137 GB, free: 6.91 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.7063, allocations: 117.8 kB / 0.8138 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.7063, allocations: 11.95 kB / 0.8138 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.7075, allocations: 314 kB / 0.8141 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.7075, allocations: 4 kB / 0.8142 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.7075, allocations: 0 / 0.8142 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7075, allocations: 0 / 0.8142 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.7078, allocations: 237.5 kB / 0.8144 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7078, allocations: 4 kB / 0.8144 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.708, allocations: 31.91 kB / 0.8144 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.7085, allocations: 76.77 kB / 0.8145 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.7086, allocations: 3.938 kB / 0.8145 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.7107, allocations: 1.686 MB / 0.8161 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7108, allocations: 64 / 0.8161 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.7119, allocations: 380 kB / 0.8165 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.712, allocations: 92.98 kB / 0.8166 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.712, allocations: 4 kB / 0.8166 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.7122, allocations: 15.92 kB / 0.8166 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.7123, allocations: 15.98 kB / 0.8166 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.7124, allocations: 7.984 kB / 0.8166 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001004/0.7125, allocations: 105.8 kB / 0.8167 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7125, allocations: 0 / 0.8167 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003693/0.7128, allocations: 47.89 kB / 0.8168 GB, free: 3.539 MB / 0.6387 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.7144, allocations: 0.9238 MB / 0.8177 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009935/0.7154, allocations: 310.7 kB / 0.818 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7154, allocations: 0 / 0.818 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.716, allocations: 229.9 kB / 0.8182 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.7164, allocations: 30.11 kB / 0.8182 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.7209, allocations: 2.048 MB / 0.8202 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.7214, allocations: 0.7085 MB / 0.8209 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.7215, allocations: 25.09 kB / 0.8209 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.7217, allocations: 39.41 kB / 0.821 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.7217, allocations: 0 / 0.821 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.7597, allocations: 4.727 MB / 0.8256 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.82, allocations: 5.906 kB / 0.8256 GB, free: 10.53 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)