Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.0009601/0.0009601, allocations: 196.2 kB / 16.14 MB, free: 6.734 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.157/1.157, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 284 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8355/0.8355, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 95.31 kB / 0.5946 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1158, allocations: 86.99 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002728/0.1185, allocations: 2.152 MB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1199, allocations: 1.072 MB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1201, allocations: 4 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.15e-05/0.1201, allocations: 15.8 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1204, allocations: 71.42 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1207, allocations: 143.8 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1209, allocations: 282.8 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1211, allocations: 64.91 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.994e-05/0.1212, allocations: 95.58 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1213, allocations: 139.3 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.1214, allocations: 12 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.1217, allocations: 291.6 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.1218, allocations: 35.78 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.1219, allocations: 119.3 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1222, allocations: 318.9 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1222, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1222, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1222, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008895/0.1231, allocations: 0.6233 MB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1231, allocations: 12.03 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.1232, allocations: 46.73 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1234, allocations: 40.56 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1236, allocations: 275.5 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1236, allocations: 12.66 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1236, allocations: 12.38 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.1241, allocations: 240.7 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1241, allocations: 0 / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1241, allocations: 8 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1242, allocations: 4 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.1248, allocations: 202.3 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.1257, allocations: 0.9345 MB / 0.6866 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.1264, allocations: 241.2 kB / 0.6868 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1267, allocations: 113.9 kB / 0.6869 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1267, allocations: 11.86 kB / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.1267, allocations: 38.56 kB / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.1267, allocations: 0 / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009836/0.1277, allocations: 333.1 kB / 0.6873 GB, free: 8.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1278, allocations: 85.11 kB / 0.6873 GB, free: 8.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.128, allocations: 267 kB / 0.6876 GB, free: 8.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.128, allocations: 25.7 kB / 0.6876 GB, free: 8.539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.1281, allocations: 164 kB / 0.6878 GB, free: 8.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1281, allocations: 59.19 kB / 0.6878 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.1282, allocations: 37.7 kB / 0.6879 GB, free: 8.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.1283, allocations: 342.8 kB / 0.6882 GB, free: 7.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.1286, allocations: 87.92 kB / 0.6883 GB, free: 7.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.1289, allocations: 139.9 kB / 0.6884 GB, free: 7.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.1295, allocations: 241.7 kB / 0.6886 GB, free: 7.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1295, allocations: 4 kB / 0.6886 GB, free: 7.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007156/0.1302, allocations: 301 kB / 0.6889 GB, free: 7.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1302, allocations: 4 kB / 0.6889 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1302, allocations: 4 kB / 0.6889 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1302, allocations: 0 / 0.6889 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1305, allocations: 60.05 kB / 0.689 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1305, allocations: 8 kB / 0.689 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.1307, allocations: 43.7 kB / 0.6891 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1307, allocations: 8 kB / 0.6891 GB, free: 7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.1308, allocations: 131.1 kB / 0.6892 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1309, allocations: 31.66 kB / 0.6892 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/0.1316, allocations: 291.9 kB / 0.6895 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1316, allocations: 4 kB / 0.6895 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1316, allocations: 3.938 kB / 0.6895 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1316, allocations: 4 kB / 0.6895 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.132, allocations: 301.3 kB / 0.6898 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.132, allocations: 4 kB / 0.6898 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.1322, allocations: 47.95 kB / 0.6898 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1322, allocations: 4 kB / 0.6898 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1322, allocations: 4 kB / 0.6898 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1322, allocations: 0 / 0.6898 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1322, allocations: 0 / 0.6898 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.1329, allocations: 447.8 kB / 0.6903 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.133, allocations: 108.7 kB / 0.6904 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.133, allocations: 4 kB / 0.6904 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.1333, allocations: 31.95 kB / 0.6904 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.1333, allocations: 19.97 kB / 0.6904 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1333, allocations: 4 kB / 0.6904 GB, free: 5.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1335, allocations: 190 kB / 0.6906 GB, free: 5.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1335, allocations: 3.938 kB / 0.6906 GB, free: 5.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.1338, allocations: 51.98 kB / 0.6907 GB, free: 5.254 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009526/0.1348, allocations: 0.9926 MB / 0.6916 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.1354, allocations: 228.1 kB / 0.6919 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1354, allocations: 4 kB / 0.6919 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.1357, allocations: 119.8 kB / 0.692 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.1362, allocations: 65.33 kB / 0.692 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.1395, allocations: 2.786 MB / 0.6948 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1398, allocations: 0.7519 MB / 0.6955 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.1399, allocations: 30.28 kB / 0.6955 GB, free: 120 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.14, allocations: 79.41 kB / 0.6956 GB, free: 40 kB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.14, allocations: 0 / 0.6956 GB, free: 40 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.199/1.339, allocations: 6.006 MB / 0.7015 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.34, allocations: 228.6 kB / 0.7017 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/4.264, allocations: 0 / 0.7017 GB, free: 9.992 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)