Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_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.009246/0.009246, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001851/0.001851, allocations: 200.9 kB / 16.68 MB, free: 5.977 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.527/1.527, 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-master/package.mo): time 1.03/1.03, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 75.88 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4854, allocations: 81.01 MB / 0.6649 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002565/0.488, allocations: 1.645 MB / 0.6665 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.6809, allocations: 149.7 MB / 0.8127 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.6812, allocations: 0 / 0.8127 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.6814, allocations: 23.8 kB / 0.8127 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.6817, allocations: 51.66 kB / 0.8127 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.6822, allocations: 183.3 kB / 0.8129 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.6824, allocations: 151.5 kB / 0.8131 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.6826, allocations: 39.48 kB / 0.8131 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.6839, allocations: 184.8 kB / 0.8133 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.684, allocations: 59.75 kB / 0.8133 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.6841, allocations: 8 kB / 0.8133 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.6844, allocations: 167.7 kB / 0.8135 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.6845, allocations: 31.89 kB / 0.8135 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.6845, allocations: 47.8 kB / 0.8136 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.6849, allocations: 192.6 kB / 0.8137 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6849, allocations: 4 kB / 0.8138 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6849, allocations: 0 / 0.8138 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6849, allocations: 0 / 0.8138 GB, free: 7.891 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.0008871/0.6858, allocations: 462.7 kB / 0.8142 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6859, allocations: 8.031 kB / 0.8142 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.6859, allocations: 42.73 kB / 0.8142 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006026/0.6866, allocations: 68.47 kB / 0.8143 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.6868, allocations: 198.9 kB / 0.8145 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.6868, allocations: 0 / 0.8145 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.6869, allocations: 12 kB / 0.8145 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.6873, allocations: 181.8 kB / 0.8147 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6874, allocations: 4 kB / 0.8147 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.6874, allocations: 4 kB / 0.8147 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6874, allocations: 0 / 0.8147 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.6879, allocations: 155.7 kB / 0.8148 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.6892, allocations: 0.8167 MB / 0.8156 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.6896, allocations: 130.5 kB / 0.8158 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.6899, allocations: 84.8 kB / 0.8158 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.6899, allocations: 3.938 kB / 0.8158 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.6899, allocations: 34.56 kB / 0.8159 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.6899, allocations: 0 / 0.8159 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001976/0.6919, allocations: 459.2 kB / 0.8163 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.692, allocations: 59.28 kB / 0.8164 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.6921, allocations: 140.1 kB / 0.8165 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.6922, allocations: 29.7 kB / 0.8165 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.6922, allocations: 112.1 kB / 0.8166 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.6923, allocations: 31.92 kB / 0.8167 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.6924, allocations: 29.66 kB / 0.8167 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6925, allocations: 322.8 kB / 0.817 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.6928, allocations: 71.94 kB / 0.8171 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.6931, allocations: 104.2 kB / 0.8172 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.6936, allocations: 180.1 kB / 0.8173 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6936, allocations: 0 / 0.8173 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001072/0.6947, allocations: 274.2 kB / 0.8176 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6947, allocations: 7.938 kB / 0.8176 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6947, allocations: 8 kB / 0.8176 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.6954, allocations: 88.88 kB / 0.8177 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.6956, allocations: 31.91 kB / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.6979, allocations: 1.657 MB / 0.8194 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.6981, allocations: 35.92 kB / 0.8194 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.6981, allocations: 7.938 kB / 0.8194 GB, free: 1.625 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.0001288/0.6983, allocations: 121.8 kB / 0.8195 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.6983, allocations: 7.953 kB / 0.8195 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.6994, allocations: 306.9 kB / 0.8198 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6994, allocations: 4 kB / 0.8198 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.6995, allocations: 0 / 0.8198 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6995, allocations: 3.984 kB / 0.8198 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.6998, allocations: 237.4 kB / 0.82 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6998, allocations: 0 / 0.82 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.7, allocations: 39.95 kB / 0.8201 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.7004, allocations: 64.97 kB / 0.8201 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.7005, allocations: 15.92 kB / 0.8202 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.7025, allocations: 1.678 MB / 0.8218 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7025, allocations: 0 / 0.8218 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.7037, allocations: 388 kB / 0.8222 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.7037, allocations: 89 kB / 0.8223 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.7038, allocations: 4 kB / 0.8223 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.704, allocations: 19.91 kB / 0.8223 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.7041, allocations: 15.98 kB / 0.8223 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.7041, allocations: 0 / 0.8223 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.643e-05/0.7042, allocations: 117.5 kB / 0.8224 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.884e-06/0.7042, allocations: 0 / 0.8224 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003384/0.7045, allocations: 51.83 kB / 0.8225 GB, free: 14.24 MB / 0.6544 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.001445/0.706, allocations: 0.92 MB / 0.8234 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009348/0.7069, allocations: 305.4 kB / 0.8236 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7069, allocations: 0 / 0.8236 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.7075, allocations: 226.5 kB / 0.8239 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.7078, allocations: 36.06 kB / 0.8239 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.7119, allocations: 2.052 MB / 0.8259 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.7123, allocations: 0.7046 MB / 0.8266 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000139/0.7124, allocations: 29 kB / 0.8266 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.7125, allocations: 39.42 kB / 0.8267 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/0.7125, allocations: 0 / 0.8267 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.7446, allocations: 4.746 MB / 0.8313 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.72, allocations: 9.688 kB / 0.8313 GB, free: 5.176 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)