Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001111/0.001111, allocations: 108 kB / 15.61 MB, free: 152 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.001206/0.001206, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7615/0.7615, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.38 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4217, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003312/0.4251, allocations: 1.874 MB / 0.582 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1812/0.6063, allocations: 155.4 MB / 0.7338 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.6066, allocations: 8 kB / 0.7338 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.6068, allocations: 23.73 kB / 0.7338 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.6072, allocations: 67.48 kB / 0.7339 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.608, allocations: 263.1 kB / 0.7341 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.6084, allocations: 255.2 kB / 0.7344 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.6086, allocations: 64.53 kB / 0.7345 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.6101, allocations: 244.8 kB / 0.7347 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.6103, allocations: 91.66 kB / 0.7348 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.6103, allocations: 12 kB / 0.7348 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.6107, allocations: 179.8 kB / 0.735 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.6108, allocations: 47.84 kB / 0.735 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.6109, allocations: 91.56 kB / 0.7351 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.6114, allocations: 271.2 kB / 0.7353 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6114, allocations: 0 / 0.7353 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6114, allocations: 0 / 0.7353 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.6114, allocations: 0 / 0.7353 GB, free: 2.16 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001119/0.6126, allocations: 0.5107 MB / 0.7358 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6126, allocations: 8.031 kB / 0.7359 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.774e-05/0.6127, allocations: 54.48 kB / 0.7359 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.6136, allocations: 91.62 kB / 0.736 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.614, allocations: 214.7 kB / 0.7362 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.6141, allocations: 45.97 kB / 0.7362 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.6142, allocations: 16 kB / 0.7363 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.6148, allocations: 267.2 kB / 0.7365 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6149, allocations: 0 / 0.7365 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.6149, allocations: 8 kB / 0.7365 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6149, allocations: 4 kB / 0.7365 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.6154, allocations: 175.7 kB / 0.7367 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.6174, allocations: 1.165 MB / 0.7378 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.6181, allocations: 209 kB / 0.738 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.6183, allocations: 76.75 kB / 0.7381 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.6184, allocations: 0 / 0.7381 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6184, allocations: 38.56 kB / 0.7381 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 2.555e-06/0.6184, allocations: 0 / 0.7381 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002859/0.6213, allocations: 0.6297 MB / 0.7388 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.6213, allocations: 51.41 kB / 0.7388 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.6216, allocations: 198.3 kB / 0.739 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.6216, allocations: 29.7 kB / 0.739 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.6217, allocations: 139.6 kB / 0.7392 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.6218, allocations: 39.36 kB / 0.7392 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.6219, allocations: 45.69 kB / 0.7392 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.622, allocations: 338.8 kB / 0.7396 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.6222, allocations: 63.95 kB / 0.7396 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.6225, allocations: 131.6 kB / 0.7397 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.6229, allocations: 202.7 kB / 0.7399 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6229, allocations: 3.938 kB / 0.7399 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001461/0.6244, allocations: 378.6 kB / 0.7403 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6244, allocations: 8 kB / 0.7403 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6244, allocations: 0 / 0.7403 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.6256, allocations: 161.8 kB / 0.7405 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.6259, allocations: 39.97 kB / 0.7405 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.63, allocations: 3.252 MB / 0.7437 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.6304, allocations: 39.73 kB / 0.7437 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.6304, allocations: 11.98 kB / 0.7437 GB, free: 8.887 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.6306, allocations: 133.7 kB / 0.7439 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.6306, allocations: 15.81 kB / 0.7439 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.632, allocations: 370.6 kB / 0.7442 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.632, allocations: 192 / 0.7442 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.632, allocations: 0 / 0.7442 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.632, allocations: 11.97 kB / 0.7442 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.6324, allocations: 269.4 kB / 0.7445 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6324, allocations: 3.938 kB / 0.7445 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.6325, allocations: 27.92 kB / 0.7445 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008413/0.6334, allocations: 141.6 kB / 0.7447 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.6334, allocations: 0 / 0.7447 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/0.6374, allocations: 3.296 MB / 0.7479 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6374, allocations: 4.188 kB / 0.7479 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6387, allocations: 424.7 kB / 0.7483 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.6388, allocations: 108.9 kB / 0.7484 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.6389, allocations: 7.938 kB / 0.7484 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.6392, allocations: 23.92 kB / 0.7484 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.6393, allocations: 15.97 kB / 0.7484 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.6393, allocations: 8 kB / 0.7484 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001925/0.6395, allocations: 151.2 kB / 0.7486 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6395, allocations: 3.938 kB / 0.7486 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004217/0.6399, allocations: 63.94 kB / 0.7486 GB, free: 3.441 MB / 0.5762 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00176/0.6417, allocations: 0.9855 MB / 0.7496 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.6429, allocations: 445.5 kB / 0.75 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6429, allocations: 0 / 0.75 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.6436, allocations: 353.2 kB / 0.7504 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.6441, allocations: 59.33 kB / 0.7504 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.6496, allocations: 2.511 MB / 0.7529 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.65, allocations: 0.7361 MB / 0.7536 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002129/0.6502, allocations: 33.98 kB / 0.7536 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.6503, allocations: 59.34 kB / 0.7537 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6503, allocations: 0 / 0.7537 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.6845, allocations: 7.169 MB / 0.7607 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.93, allocations: 21.22 kB / 0.7607 GB, free: 7.094 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)