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.001832/0.001831, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001835/0.001835, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.484/2.484, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.391/1.391, allocations: 132.3 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004293, allocations: 8.656 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8219, allocations: 81.58 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003857/0.8258, allocations: 1.319 MB / 0.5843 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2672/1.093, allocations: 126.5 MB / 0.7078 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/1.093, allocations: 0 / 0.7078 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002971/1.094, allocations: 23.86 kB / 0.7078 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/1.094, allocations: 47.86 kB / 0.7078 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/1.095, allocations: 155.5 kB / 0.708 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/1.095, allocations: 95.7 kB / 0.7081 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/1.095, allocations: 23.97 kB / 0.7081 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/1.095, allocations: 103.8 kB / 0.7082 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/1.096, allocations: 55.75 kB / 0.7082 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/1.096, allocations: 4 kB / 0.7083 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/1.096, allocations: 167.8 kB / 0.7084 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/1.096, allocations: 19.92 kB / 0.7084 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/1.096, allocations: 45.62 kB / 0.7085 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/1.096, allocations: 134 kB / 0.7086 GB, free: 15.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.096, allocations: 0 / 0.7086 GB, free: 15.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.977e-06/1.096, allocations: 4 kB / 0.7086 GB, free: 15.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.096, allocations: 0 / 0.7086 GB, free: 15.6 MB / 0.545 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.001265/1.098, allocations: 460.3 kB / 0.709 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/1.098, allocations: 12.03 kB / 0.7091 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/1.098, allocations: 38.55 kB / 0.7091 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006709/1.098, allocations: 51.84 kB / 0.7091 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/1.099, allocations: 202.8 kB / 0.7093 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.099, allocations: 8 kB / 0.7093 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/1.099, allocations: 4 kB / 0.7093 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/1.099, allocations: 197.7 kB / 0.7095 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.099, allocations: 3.984 kB / 0.7095 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/1.099, allocations: 4 kB / 0.7095 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/1.099, allocations: 4 kB / 0.7095 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/1.1, allocations: 159.8 kB / 0.7097 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/1.101, allocations: 0.8281 MB / 0.7105 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/1.102, allocations: 142.5 kB / 0.7106 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/1.102, allocations: 3.984 kB / 0.7106 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.102, allocations: 46.45 kB / 0.7107 GB, free: 13.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/1.102, allocations: 0 / 0.7107 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.00236/1.104, allocations: 499.3 kB / 0.7112 GB, free: 12.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.104, allocations: 51.41 kB / 0.7112 GB, free: 12.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/1.105, allocations: 143.7 kB / 0.7114 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/1.105, allocations: 25.7 kB / 0.7114 GB, free: 12.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.105, allocations: 108 kB / 0.7115 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/1.105, allocations: 31.55 kB / 0.7115 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/1.105, allocations: 0 / 0.7115 GB, free: 12.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.105, allocations: 326.8 kB / 0.7118 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/1.105, allocations: 87.81 kB / 0.7119 GB, free: 11.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/1.106, allocations: 112.2 kB / 0.712 GB, free: 11.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/1.106, allocations: 83.95 kB / 0.7121 GB, free: 11.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.106, allocations: 0 / 0.7121 GB, free: 11.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001095/1.107, allocations: 302.1 kB / 0.7124 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.107, allocations: 4 kB / 0.7124 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.107, allocations: 7.984 kB / 0.7124 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006844/1.108, allocations: 84.89 kB / 0.7125 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/1.108, allocations: 43.91 kB / 0.7125 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/1.111, allocations: 1.557 MB / 0.714 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/1.111, allocations: 31.88 kB / 0.7141 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/1.111, allocations: 4 kB / 0.7141 GB, free: 9.551 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.111, allocations: 119.9 kB / 0.7142 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/1.111, allocations: 16.17 kB / 0.7142 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/1.113, allocations: 338.9 kB / 0.7145 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.113, allocations: 0 / 0.7145 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/1.113, allocations: 0 / 0.7145 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/1.113, allocations: 3.984 kB / 0.7145 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/1.113, allocations: 233.5 kB / 0.7147 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.113, allocations: 3.938 kB / 0.7148 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/1.113, allocations: 39.95 kB / 0.7148 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/1.114, allocations: 92.72 kB / 0.7149 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.114, allocations: 4 kB / 0.7149 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/1.116, allocations: 1.583 MB / 0.7164 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.116, allocations: 0 / 0.7164 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/1.117, allocations: 400.1 kB / 0.7168 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/1.117, allocations: 92.91 kB / 0.7169 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/1.117, allocations: 0 / 0.7169 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.117, allocations: 23.92 kB / 0.7169 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/1.117, allocations: 15.97 kB / 0.7169 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/1.117, allocations: 8 kB / 0.7169 GB, free: 6.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.823e-05/1.117, allocations: 103.3 kB / 0.717 GB, free: 6.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.117, allocations: 11.94 kB / 0.7171 GB, free: 6.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004008/1.118, allocations: 44 kB / 0.7171 GB, free: 6.203 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/1.12, allocations: 0.9333 MB / 0.718 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.121, allocations: 322.7 kB / 0.7183 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.121, allocations: 0 / 0.7183 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/1.121, allocations: 246.5 kB / 0.7186 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/1.122, allocations: 31.05 kB / 0.7186 GB, free: 4.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/1.125, allocations: 1.623 MB / 0.7202 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/1.125, allocations: 0.7127 MB / 0.7209 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001963/1.125, allocations: 28.86 kB / 0.7209 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.125, allocations: 31.41 kB / 0.7209 GB, free: 2.148 MB / 0.545 GB Notification: Performance of SimCode: time 1.473e-06/1.125, allocations: 4 kB / 0.7209 GB, free: 2.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/1.15, allocations: 4.174 MB / 0.725 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004797/1.15, allocations: 218.5 kB / 0.7252 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.264, allocations: 0 / 0.7252 GB, free: 13.96 MB / 0.5606 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/linux/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) Environment - environmentSimulation: