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.008414/0.008414, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.002271/0.002271, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.52 kB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1911, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003042/0.1942, allocations: 1.646 MB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.3613, allocations: 149.7 MB / 0.807 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3614, allocations: 4 kB / 0.807 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.3617, allocations: 19.8 kB / 0.807 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.362, allocations: 51.64 kB / 0.807 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.3626, allocations: 183.3 kB / 0.8072 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.3628, allocations: 155.5 kB / 0.8074 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.363, allocations: 30.8 kB / 0.8074 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.3644, allocations: 195.2 kB / 0.8076 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3645, allocations: 59.75 kB / 0.8076 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.3645, allocations: 8 kB / 0.8076 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.3649, allocations: 167.7 kB / 0.8078 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.365, allocations: 23.91 kB / 0.8078 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.365, allocations: 47.8 kB / 0.8079 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.3654, allocations: 204.3 kB / 0.8081 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3654, allocations: 0 / 0.8081 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3654, allocations: 0 / 0.8081 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3655, allocations: 0 / 0.8081 GB, free: 4.984 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.0009251/0.3664, allocations: 459 kB / 0.8085 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3664, allocations: 12.03 kB / 0.8085 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.3665, allocations: 38.75 kB / 0.8085 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.3671, allocations: 56.53 kB / 0.8086 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.3674, allocations: 202.8 kB / 0.8088 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3674, allocations: 8 kB / 0.8088 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3674, allocations: 8 kB / 0.8088 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.3679, allocations: 184.5 kB / 0.809 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3679, allocations: 4 kB / 0.809 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3679, allocations: 4 kB / 0.809 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.368, allocations: 4 kB / 0.809 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.3684, allocations: 143.7 kB / 0.8091 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.3697, allocations: 0.8206 MB / 0.8099 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.3701, allocations: 130.5 kB / 0.8101 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.3704, allocations: 84.8 kB / 0.8101 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3704, allocations: 0 / 0.8101 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3704, allocations: 38.5 kB / 0.8102 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3705, allocations: 3.938 kB / 0.8102 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.002009/0.3725, allocations: 455.3 kB / 0.8106 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3725, allocations: 63.34 kB / 0.8107 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3727, allocations: 141.7 kB / 0.8108 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3727, allocations: 33.64 kB / 0.8108 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.3728, allocations: 108 kB / 0.8109 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.3728, allocations: 27.64 kB / 0.811 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.3729, allocations: 25.7 kB / 0.811 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.373, allocations: 322.8 kB / 0.8113 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.3733, allocations: 71.94 kB / 0.8114 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.3735, allocations: 107.4 kB / 0.8115 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.374, allocations: 172.4 kB / 0.8116 GB, free: 1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.374, allocations: 0 / 0.8116 GB, free: 1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001071/0.3751, allocations: 290 kB / 0.8119 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3752, allocations: 11.94 kB / 0.8119 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3752, allocations: 4 kB / 0.8119 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.3759, allocations: 88.88 kB / 0.812 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3761, allocations: 31.91 kB / 0.812 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3149/0.6911, allocations: 1.646 MB / 0.8137 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.6914, allocations: 31.55 kB / 0.8137 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.6914, allocations: 10 kB / 0.8137 GB, free: 156.5 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 8.94e-05/0.6915, allocations: 119.6 kB / 0.8138 GB, free: 156.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.6916, allocations: 10.88 kB / 0.8138 GB, free: 156.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.6927, allocations: 304.9 kB / 0.8141 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6927, allocations: 1.469 kB / 0.8141 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.6927, allocations: 1 kB / 0.8141 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6927, allocations: 6.422 kB / 0.8141 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.6929, allocations: 237.3 kB / 0.8143 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.693, allocations: 0 / 0.8143 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.6932, allocations: 38.28 kB / 0.8144 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.6936, allocations: 74.38 kB / 0.8145 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.6937, allocations: 2.422 kB / 0.8145 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.6953, allocations: 1.683 MB / 0.8161 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6953, allocations: 0.75 kB / 0.8161 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.6963, allocations: 387.7 kB / 0.8165 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.6963, allocations: 90.62 kB / 0.8166 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.6964, allocations: 2.062 kB / 0.8166 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.6966, allocations: 17.55 kB / 0.8166 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.6967, allocations: 19.09 kB / 0.8166 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.6967, allocations: 4.406 kB / 0.8166 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.6967, allocations: 112.5 kB / 0.8167 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6967, allocations: 0 / 0.8167 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003646/0.6971, allocations: 43 kB / 0.8167 GB, free: 154.3 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.001231/0.6984, allocations: 0.9253 MB / 0.8176 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008459/0.6992, allocations: 311.2 kB / 0.8179 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6992, allocations: 2.281 kB / 0.8179 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.6997, allocations: 226.3 kB / 0.8182 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.7001, allocations: 22.97 kB / 0.8182 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.7036, allocations: 2.05 MB / 0.8202 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.7038, allocations: 0.708 MB / 0.8209 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000143/0.704, allocations: 24.67 kB / 0.8209 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.7041, allocations: 36.53 kB / 0.8209 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/0.7041, allocations: 0.5312 kB / 0.8209 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.7334, allocations: 4.829 MB / 0.8257 GB, free: 150.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.54, allocations: 2.969 kB / 0.8257 GB, free: 150.4 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)