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.006243/0.006243, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001553/0.001553, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 288.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.042/1.042, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 99.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5192, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003129/0.5223, allocations: 1.663 MB / 0.7675 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1758/0.6982, allocations: 149.7 MB / 0.9137 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.6984, allocations: 3.938 kB / 0.9137 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.6986, allocations: 19.8 kB / 0.9137 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.6988, allocations: 51.64 kB / 0.9138 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.6994, allocations: 183.3 kB / 0.914 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.6996, allocations: 167.5 kB / 0.9141 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.6998, allocations: 25.11 kB / 0.9142 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.7012, allocations: 196.3 kB / 0.9143 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.7013, allocations: 63.75 kB / 0.9144 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.7014, allocations: 8 kB / 0.9144 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.7017, allocations: 163.7 kB / 0.9146 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.7018, allocations: 27.91 kB / 0.9146 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.7018, allocations: 47.73 kB / 0.9146 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.7022, allocations: 208.6 kB / 0.9148 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7022, allocations: 0 / 0.9148 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7022, allocations: 0 / 0.9148 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7022, allocations: 4 kB / 0.9148 GB, free: 10.76 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.0009046/0.7032, allocations: 466.6 kB / 0.9153 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7032, allocations: 12.03 kB / 0.9153 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.7033, allocations: 42.75 kB / 0.9153 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006617/0.7039, allocations: 64.47 kB / 0.9154 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.7042, allocations: 202.1 kB / 0.9156 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.7042, allocations: 8 kB / 0.9156 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.7042, allocations: 8 kB / 0.9156 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.7047, allocations: 188 kB / 0.9158 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7047, allocations: 0 / 0.9158 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.7047, allocations: 8 kB / 0.9158 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7048, allocations: 0 / 0.9158 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.7053, allocations: 147.7 kB / 0.9159 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.7065, allocations: 0.8168 MB / 0.9167 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.7069, allocations: 134.5 kB / 0.9169 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.7072, allocations: 84.78 kB / 0.9169 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.7072, allocations: 3.938 kB / 0.9169 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.7072, allocations: 34.56 kB / 0.917 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.7072, allocations: 4 kB / 0.917 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.001944/0.7092, allocations: 455.4 kB / 0.9174 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.7092, allocations: 67.27 kB / 0.9175 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.7094, allocations: 150.4 kB / 0.9176 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.7094, allocations: 25.7 kB / 0.9176 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.7095, allocations: 108.3 kB / 0.9178 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.7095, allocations: 31.73 kB / 0.9178 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.7096, allocations: 33.7 kB / 0.9178 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7098, allocations: 318.8 kB / 0.9181 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.71, allocations: 71.94 kB / 0.9182 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.7103, allocations: 108.2 kB / 0.9183 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.7108, allocations: 180.1 kB / 0.9185 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7108, allocations: 0 / 0.9185 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001068/0.7119, allocations: 286.1 kB / 0.9187 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.7119, allocations: 11.94 kB / 0.9187 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.7119, allocations: 3.984 kB / 0.9187 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.7126, allocations: 84.86 kB / 0.9188 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.7128, allocations: 35.91 kB / 0.9189 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.7152, allocations: 1.658 MB / 0.9205 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.7154, allocations: 15.98 kB / 0.9205 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.7155, allocations: 16.31 kB / 0.9205 GB, free: 4.473 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.00013/0.7156, allocations: 124.2 kB / 0.9206 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.7157, allocations: 15.91 kB / 0.9206 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.7168, allocations: 313.6 kB / 0.9209 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7168, allocations: 4 kB / 0.921 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.7168, allocations: 0 / 0.921 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.7168, allocations: 4 kB / 0.921 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.7171, allocations: 241.5 kB / 0.9212 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7172, allocations: 0 / 0.9212 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.7174, allocations: 31.97 kB / 0.9212 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.7178, allocations: 72.77 kB / 0.9213 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.7179, allocations: 7.938 kB / 0.9213 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.7199, allocations: 1.681 MB / 0.9229 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7199, allocations: 0 / 0.9229 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.721, allocations: 380.1 kB / 0.9233 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.7211, allocations: 101 kB / 0.9234 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.7211, allocations: 4 kB / 0.9234 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.7214, allocations: 23.91 kB / 0.9234 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.7214, allocations: 20.06 kB / 0.9234 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.7215, allocations: 3.984 kB / 0.9234 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 9.1e-05/0.7216, allocations: 119.2 kB / 0.9236 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.814e-06/0.7216, allocations: 0 / 0.9236 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004286/0.722, allocations: 51.83 kB / 0.9236 GB, free: 1.055 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.00143/0.7234, allocations: 0.9199 MB / 0.9245 GB, free: 108 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009305/0.7244, allocations: 310.5 kB / 0.9248 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7244, allocations: 4 kB / 0.9248 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.725, allocations: 232.5 kB / 0.925 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.7254, allocations: 25.83 kB / 0.9251 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.7295, allocations: 2.07 MB / 0.9271 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7299, allocations: 0.7085 MB / 0.9278 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.73, allocations: 28.81 kB / 0.9278 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.7301, allocations: 31.42 kB / 0.9278 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/0.7301, allocations: 0 / 0.9278 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.7622, allocations: 4.757 MB / 0.9325 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.07, allocations: 4.938 kB / 0.9325 GB, free: 8.012 MB / 0.7012 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)