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.001694/0.001694, allocations: 108 kB / 15.6 MB, free: 132 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.002214/0.002214, allocations: 198.8 kB / 16.53 MB, free: 6.391 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8012/0.8012, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 67.36 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4026, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002552/0.4051, allocations: 1.65 MB / 0.5818 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.167/0.5721, allocations: 149.7 MB / 0.728 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.5723, allocations: 4 kB / 0.728 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.5725, allocations: 23.8 kB / 0.728 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.5728, allocations: 47.64 kB / 0.728 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.5733, allocations: 183.3 kB / 0.7282 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.5735, allocations: 159.5 kB / 0.7284 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.5737, allocations: 30.23 kB / 0.7284 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.5748, allocations: 194.9 kB / 0.7286 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.575, allocations: 59.81 kB / 0.7286 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.575, allocations: 12 kB / 0.7287 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.5753, allocations: 155.8 kB / 0.7288 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.5754, allocations: 27.91 kB / 0.7288 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.5755, allocations: 43.73 kB / 0.7289 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.5758, allocations: 195.5 kB / 0.7291 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5758, allocations: 3.984 kB / 0.7291 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5759, allocations: 4 kB / 0.7291 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.5759, allocations: 0 / 0.7291 GB, free: 8.539 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008782/0.5768, allocations: 455 kB / 0.7295 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5768, allocations: 16.03 kB / 0.7295 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.5769, allocations: 42.67 kB / 0.7296 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.5775, allocations: 60.44 kB / 0.7296 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.5777, allocations: 194.9 kB / 0.7298 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5777, allocations: 8 kB / 0.7298 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.5778, allocations: 8 kB / 0.7298 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.5782, allocations: 185.8 kB / 0.73 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5783, allocations: 0 / 0.73 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5783, allocations: 0 / 0.73 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.5783, allocations: 7.938 kB / 0.73 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.5788, allocations: 151.7 kB / 0.7301 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.58, allocations: 0.8203 MB / 0.7309 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.5804, allocations: 130.5 kB / 0.7311 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.5807, allocations: 84.8 kB / 0.7312 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.5807, allocations: 3.938 kB / 0.7312 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5807, allocations: 34.56 kB / 0.7312 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.5807, allocations: 0 / 0.7312 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001979/0.5827, allocations: 455.3 kB / 0.7316 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.5828, allocations: 63.28 kB / 0.7317 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.5829, allocations: 148 kB / 0.7318 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5829, allocations: 25.7 kB / 0.7319 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.583, allocations: 103.9 kB / 0.732 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.583, allocations: 31.55 kB / 0.732 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.5831, allocations: 33.7 kB / 0.732 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5832, allocations: 318.8 kB / 0.7323 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.5835, allocations: 71.94 kB / 0.7324 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.5838, allocations: 104.2 kB / 0.7325 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.5843, allocations: 176.1 kB / 0.7327 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5843, allocations: 0 / 0.7327 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001068/0.5854, allocations: 278.1 kB / 0.7329 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.5854, allocations: 11.94 kB / 0.7329 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5854, allocations: 0 / 0.7329 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.586, allocations: 88.81 kB / 0.733 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.5863, allocations: 35.91 kB / 0.733 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.5886, allocations: 1.67 MB / 0.7347 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.5889, allocations: 27.94 kB / 0.7347 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.5889, allocations: 7.938 kB / 0.7347 GB, free: 2.281 MB / 0.5606 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.0001142/0.589, allocations: 125.8 kB / 0.7348 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.5891, allocations: 7.906 kB / 0.7348 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.5902, allocations: 317.8 kB / 0.7351 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5902, allocations: 0 / 0.7351 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5902, allocations: 0 / 0.7351 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5902, allocations: 7.922 kB / 0.7352 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.5905, allocations: 229.5 kB / 0.7354 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5905, allocations: 0 / 0.7354 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.5907, allocations: 35.95 kB / 0.7354 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.5912, allocations: 68.78 kB / 0.7355 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.5912, allocations: 15.92 kB / 0.7355 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.5931, allocations: 1.681 MB / 0.7371 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5931, allocations: 0 / 0.7371 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.5942, allocations: 376.1 kB / 0.7375 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.5943, allocations: 88.92 kB / 0.7376 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.5943, allocations: 0 / 0.7376 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.5945, allocations: 31.97 kB / 0.7376 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.5946, allocations: 11.98 kB / 0.7376 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.5946, allocations: 4 kB / 0.7376 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.5947, allocations: 115.2 kB / 0.7377 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5947, allocations: 3.938 kB / 0.7377 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003371/0.595, allocations: 44 kB / 0.7378 GB, free: 14.89 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 (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.001387/0.5964, allocations: 0.9237 MB / 0.7387 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009166/0.5974, allocations: 307.4 kB / 0.739 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5974, allocations: 4 kB / 0.739 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.598, allocations: 238.5 kB / 0.7392 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.5983, allocations: 20.53 kB / 0.7392 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.6023, allocations: 2.038 MB / 0.7412 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.6026, allocations: 0.7046 MB / 0.7419 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.6027, allocations: 32.94 kB / 0.7419 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.6028, allocations: 35.42 kB / 0.742 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.6028, allocations: 0 / 0.742 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.641, allocations: 4.649 MB / 0.7465 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.08, allocations: 11.53 kB / 0.7465 GB, free: 5.949 MB / 0.5762 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)