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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_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.001613/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001644/0.001644, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 278.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9059/0.9059, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 92.08 kB / 0.5946 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1884, allocations: 86.98 MB / 0.6795 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002871/0.1913, allocations: 1.725 MB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5082/0.6995, allocations: 147.4 MB / 0.8252 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.6997, allocations: 0.5938 kB / 0.8252 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.6999, allocations: 19.08 kB / 0.8252 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.7002, allocations: 46.34 kB / 0.8252 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.7007, allocations: 160.4 kB / 0.8254 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.7009, allocations: 154.5 kB / 0.8255 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.7011, allocations: 33.81 kB / 0.8256 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.7029, allocations: 172.7 kB / 0.8257 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.7031, allocations: 59.45 kB / 0.8258 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.7031, allocations: 6.094 kB / 0.8258 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.7036, allocations: 164.9 kB / 0.8259 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.7037, allocations: 25.34 kB / 0.826 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.7038, allocations: 46.58 kB / 0.826 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.7042, allocations: 200.2 kB / 0.8262 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7042, allocations: 3.938 kB / 0.8262 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7042, allocations: 0 / 0.8262 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.7042, allocations: 1.906 kB / 0.8262 GB, free: 0.832 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.000905/0.7051, allocations: 468.5 kB / 0.8267 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.7051, allocations: 9 kB / 0.8267 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.7052, allocations: 47.53 kB / 0.8267 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006365/0.7058, allocations: 56.69 kB / 0.8268 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.706, allocations: 202.3 kB / 0.827 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.7061, allocations: 6.188 kB / 0.827 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.7061, allocations: 12.66 kB / 0.827 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.7065, allocations: 182.1 kB / 0.8272 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7066, allocations: 0 / 0.8272 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.7066, allocations: 8.25 kB / 0.8272 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.7066, allocations: 2.219 kB / 0.8272 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.7071, allocations: 142.4 kB / 0.8273 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.7082, allocations: 0.8214 MB / 0.8281 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.7087, allocations: 133.7 kB / 0.8282 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.709, allocations: 86.45 kB / 0.8283 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.709, allocations: 1.031 kB / 0.8283 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.709, allocations: 31.5 kB / 0.8283 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.709, allocations: 0 / 0.8283 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.00198/0.711, allocations: 460.7 kB / 0.8288 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.7111, allocations: 56.5 kB / 0.8288 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.7112, allocations: 153.1 kB / 0.829 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.7112, allocations: 26.89 kB / 0.829 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.7113, allocations: 115 kB / 0.8291 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.7113, allocations: 27.52 kB / 0.8291 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.7114, allocations: 31.38 kB / 0.8292 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7115, allocations: 319.2 kB / 0.8295 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.7117, allocations: 71.55 kB / 0.8295 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.712, allocations: 103.4 kB / 0.8296 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.7125, allocations: 177.3 kB / 0.8298 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7125, allocations: 4 kB / 0.8298 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00103/0.7135, allocations: 277.3 kB / 0.8301 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.7136, allocations: 9.281 kB / 0.8301 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7136, allocations: 2.25 kB / 0.8301 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.7142, allocations: 84.62 kB / 0.8302 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.7144, allocations: 41.41 kB / 0.8302 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.7164, allocations: 1.544 MB / 0.8317 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.7166, allocations: 25.72 kB / 0.8317 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.7167, allocations: 5.156 kB / 0.8317 GB, free: 13.05 MB / 0.5762 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.0001075/0.7168, allocations: 133.6 kB / 0.8319 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.7168, allocations: 12.94 kB / 0.8319 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.7179, allocations: 303.2 kB / 0.8322 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7179, allocations: 5 kB / 0.8322 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.7179, allocations: 7.203 kB / 0.8322 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.7179, allocations: 4.125 kB / 0.8322 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.7182, allocations: 254.4 kB / 0.8324 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7182, allocations: 0 / 0.8324 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.7184, allocations: 33.48 kB / 0.8325 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/0.719, allocations: 91.06 kB / 0.8326 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.719, allocations: 5 kB / 0.8326 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.7208, allocations: 1.566 MB / 0.8341 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.7208, allocations: 1.062 kB / 0.8341 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/0.7218, allocations: 374.2 kB / 0.8344 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.7219, allocations: 113.1 kB / 0.8346 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.7219, allocations: 1.344 kB / 0.8346 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.7221, allocations: 18.81 kB / 0.8346 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.7222, allocations: 15.69 kB / 0.8346 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.7222, allocations: 6.359 kB / 0.8346 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.7223, allocations: 115.1 kB / 0.8347 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.402e-06/0.7223, allocations: 1.469 kB / 0.8347 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003399/0.7227, allocations: 49.08 kB / 0.8348 GB, free: 10.97 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.001283/0.7239, allocations: 0.9198 MB / 0.8357 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008354/0.7248, allocations: 308 kB / 0.8359 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7248, allocations: 0 / 0.8359 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.7253, allocations: 226.4 kB / 0.8362 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.7257, allocations: 29.39 kB / 0.8362 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.7295, allocations: 2.095 MB / 0.8382 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.7298, allocations: 0.7158 MB / 0.8389 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.73, allocations: 24.83 kB / 0.839 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.73, allocations: 33.3 kB / 0.839 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.7301, allocations: 0 / 0.839 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.7463, allocations: 4.326 MB / 0.8432 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.7465, allocations: 259.7 kB / 0.8435 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.62, allocations: 1.562 kB / 0.8435 GB, free: 5.715 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)