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.00192/0.00192, 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.00161/0.001609, 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.419/1.419, 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.7827/0.7827, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 64.3 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4916, 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.004633/0.4962, allocations: 1.872 MB / 0.582 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2097/0.706, allocations: 155.4 MB / 0.7338 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.7062, allocations: 4 kB / 0.7338 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.7065, allocations: 27.67 kB / 0.7338 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.707, allocations: 79.41 kB / 0.7339 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.7078, allocations: 262.9 kB / 0.7341 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.7082, allocations: 255.2 kB / 0.7344 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.7084, allocations: 64.53 kB / 0.7345 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.7097, allocations: 246.2 kB / 0.7347 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.7099, allocations: 95.59 kB / 0.7348 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.7099, allocations: 12 kB / 0.7348 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.7103, allocations: 179.7 kB / 0.735 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.7104, allocations: 51.81 kB / 0.735 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.7105, allocations: 83.59 kB / 0.7351 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004744/0.711, allocations: 267.2 kB / 0.7353 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.711, allocations: 4 kB / 0.7353 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.711, allocations: 0 / 0.7353 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.711, allocations: 0 / 0.7353 GB, free: 2.113 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.001044/0.7121, allocations: 0.5185 MB / 0.7359 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7121, allocations: 8.031 kB / 0.7359 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.7122, allocations: 54.55 kB / 0.7359 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00091/0.7131, allocations: 83.64 kB / 0.736 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.7135, allocations: 222.7 kB / 0.7362 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.7136, allocations: 45.91 kB / 0.7363 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.7136, allocations: 16 kB / 0.7363 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.7143, allocations: 259.3 kB / 0.7365 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7143, allocations: 3.938 kB / 0.7365 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.7143, allocations: 8 kB / 0.7365 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7143, allocations: 4 kB / 0.7365 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.7148, allocations: 171.8 kB / 0.7367 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.7168, allocations: 1.177 MB / 0.7378 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007465/0.7175, allocations: 202.6 kB / 0.738 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.7177, allocations: 76.81 kB / 0.7381 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.7178, allocations: 0 / 0.7381 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.7178, allocations: 34.56 kB / 0.7381 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.7178, allocations: 0 / 0.7381 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002736/0.7206, allocations: 0.6258 MB / 0.7388 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.7206, allocations: 51.41 kB / 0.7388 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.7209, allocations: 202.3 kB / 0.739 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.7209, allocations: 29.7 kB / 0.739 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.721, allocations: 135.6 kB / 0.7392 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.7211, allocations: 47.34 kB / 0.7392 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.7212, allocations: 49.67 kB / 0.7392 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7214, allocations: 326.8 kB / 0.7396 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.7216, allocations: 71.95 kB / 0.7396 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.7219, allocations: 127.7 kB / 0.7397 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.7223, allocations: 202.7 kB / 0.7399 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7223, allocations: 4 kB / 0.7399 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001429/0.7237, allocations: 378.8 kB / 0.7403 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7238, allocations: 8 kB / 0.7403 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7238, allocations: 0 / 0.7403 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.7249, allocations: 161.6 kB / 0.7405 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.7251, allocations: 43.89 kB / 0.7405 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.7291, allocations: 3.248 MB / 0.7437 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.7294, allocations: 31.67 kB / 0.7437 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.7295, allocations: 16.05 kB / 0.7437 GB, free: 8.84 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.0001306/0.7296, allocations: 129.8 kB / 0.7438 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.7297, allocations: 16 kB / 0.7439 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.731, allocations: 382.5 kB / 0.7442 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.731, allocations: 0 / 0.7442 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.731, allocations: 0 / 0.7442 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.731, allocations: 0 / 0.7442 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.7313, allocations: 269.4 kB / 0.7445 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7313, allocations: 3.938 kB / 0.7445 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.7315, allocations: 27.97 kB / 0.7445 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/0.7323, allocations: 141.6 kB / 0.7447 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.7323, allocations: 0 / 0.7447 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/0.736, allocations: 3.3 MB / 0.7479 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.736, allocations: 0 / 0.7479 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.7373, allocations: 432.7 kB / 0.7483 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.7375, allocations: 104.9 kB / 0.7484 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.7375, allocations: 7.922 kB / 0.7484 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.7378, allocations: 20.11 kB / 0.7484 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.7379, allocations: 27.86 kB / 0.7484 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.7379, allocations: 7.984 kB / 0.7484 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001859/0.7381, allocations: 147.2 kB / 0.7486 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7381, allocations: 0 / 0.7486 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004396/0.7386, allocations: 67.94 kB / 0.7487 GB, free: 3.391 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.001616/0.7402, allocations: 0.9778 MB / 0.7496 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.7413, allocations: 445.2 kB / 0.75 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7413, allocations: 256 / 0.75 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.742, allocations: 361.2 kB / 0.7504 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.7424, allocations: 66.77 kB / 0.7504 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.7476, allocations: 2.505 MB / 0.7529 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.748, allocations: 0.7283 MB / 0.7536 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.7483, allocations: 38.02 kB / 0.7536 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.7484, allocations: 55.42 kB / 0.7537 GB, free: 14 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.7484, allocations: 0 / 0.7537 GB, free: 14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.7893, allocations: 7.176 MB / 0.7607 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.27, allocations: 20.86 kB / 0.7607 GB, free: 7.043 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)