Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 106.6 kB / 16.41 MB, free: 6.523 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.00183/0.00183, allocations: 192 kB / 17.34 MB, free: 5.73 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004148/0.004148, allocations: 293.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4418, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002845/0.4446, allocations: 1.682 MB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.6322, allocations: 150.1 MB / 0.9153 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.6323, allocations: 4 kB / 0.9153 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.6325, allocations: 19.8 kB / 0.9153 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.6328, allocations: 55.62 kB / 0.9154 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.6333, allocations: 187.3 kB / 0.9155 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.6335, allocations: 163.5 kB / 0.9157 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.6336, allocations: 24.91 kB / 0.9157 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.635, allocations: 189.5 kB / 0.9159 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.6351, allocations: 63.73 kB / 0.916 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.6351, allocations: 12 kB / 0.916 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.6354, allocations: 155.8 kB / 0.9161 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.6355, allocations: 31.84 kB / 0.9161 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.6355, allocations: 59.7 kB / 0.9162 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.6359, allocations: 201.1 kB / 0.9164 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6359, allocations: 0 / 0.9164 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6359, allocations: 0 / 0.9164 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6359, allocations: 0 / 0.9164 GB, free: 10.39 MB / 0.6856 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.0009421/0.6369, allocations: 474.6 kB / 0.9168 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6369, allocations: 8.031 kB / 0.9169 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.6375, allocations: 60.78 kB / 0.9169 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.6378, allocations: 202.8 kB / 0.9171 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.6378, allocations: 11.94 kB / 0.9171 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.6378, allocations: 8 kB / 0.9171 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.6383, allocations: 185.7 kB / 0.9173 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6383, allocations: 0 / 0.9173 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.6384, allocations: 8 kB / 0.9173 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.6384, allocations: 4 kB / 0.9173 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.6389, allocations: 143.8 kB / 0.9175 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.6401, allocations: 0.8129 MB / 0.9182 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.6405, allocations: 134.4 kB / 0.9184 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.6408, allocations: 76.78 kB / 0.9184 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.6408, allocations: 4 kB / 0.9184 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.6409, allocations: 34.55 kB / 0.9185 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 3.005e-06/0.6409, allocations: 7.984 kB / 0.9185 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.001994/0.6428, allocations: 459.2 kB / 0.9189 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.6429, allocations: 51.41 kB / 0.919 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.643, allocations: 153.6 kB / 0.9191 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.6431, allocations: 29.7 kB / 0.9192 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.6432, allocations: 108.3 kB / 0.9193 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.6432, allocations: 39.88 kB / 0.9193 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.6433, allocations: 29.7 kB / 0.9193 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6434, allocations: 322.8 kB / 0.9196 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.6437, allocations: 67.94 kB / 0.9197 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.644, allocations: 104.2 kB / 0.9198 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.6445, allocations: 180.1 kB / 0.92 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6445, allocations: 0 / 0.92 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001079/0.6456, allocations: 278.1 kB / 0.9202 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6456, allocations: 15.22 kB / 0.9202 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.6456, allocations: 4.125 kB / 0.9202 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.6462, allocations: 84.75 kB / 0.9203 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.6464, allocations: 39.91 kB / 0.9204 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.6494, allocations: 1.655 MB / 0.922 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.6498, allocations: 23.91 kB / 0.922 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.6498, allocations: 8 kB / 0.922 GB, free: 4.168 MB / 0.6856 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.0001684/0.65, allocations: 126.3 kB / 0.9221 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.65, allocations: 16.09 kB / 0.9222 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.6516, allocations: 314.9 kB / 0.9225 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.6516, allocations: 0 / 0.9225 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.6516, allocations: 0 / 0.9225 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.6517, allocations: 7.984 kB / 0.9225 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.6521, allocations: 249.4 kB / 0.9227 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6521, allocations: 4 kB / 0.9227 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.6524, allocations: 31.97 kB / 0.9227 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000629/0.653, allocations: 68.78 kB / 0.9228 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.6531, allocations: 11.92 kB / 0.9228 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/0.6561, allocations: 1.674 MB / 0.9244 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6561, allocations: 0 / 0.9244 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.6576, allocations: 380.1 kB / 0.9248 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6578, allocations: 101 kB / 0.9249 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.6578, allocations: 8 kB / 0.9249 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.6581, allocations: 15.92 kB / 0.9249 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.6582, allocations: 23.91 kB / 0.9249 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.6583, allocations: 4 kB / 0.9249 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001372/0.6584, allocations: 115.2 kB / 0.9251 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6584, allocations: 0 / 0.9251 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005866/0.659, allocations: 47.89 kB / 0.9251 GB, free: 0.7461 MB / 0.6856 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.0002552/0.6592, allocations: 111.2 kB / 0.9252 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.6605, allocations: 302.5 kB / 0.9255 GB, free: 328 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6605, allocations: 4.25 kB / 0.9255 GB, free: 324 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.6613, allocations: 226.5 kB / 0.9257 GB, free: 84 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.6619, allocations: 36.88 kB / 0.9258 GB, free: 48 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.6631, allocations: 317 kB / 0.9261 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.6636, allocations: 0.7046 MB / 0.9267 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.6638, allocations: 24.88 kB / 0.9268 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.6639, allocations: 19.42 kB / 0.9268 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of SimCode: time 3.61e-07/0.6639, allocations: 3.938 kB / 0.9268 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.01102/0.6749, allocations: 3.249 MB / 0.93 GB, free: 11.72 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)