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.001341/0.001341, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 283.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9218/0.9218, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 103 kB / 0.5954 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.129, allocations: 86.97 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003022/0.132, allocations: 2.11 MB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1336, allocations: 1.037 MB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1337, allocations: 8.625 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.126e-05/0.1338, allocations: 27.66 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1341, allocations: 83.28 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.1345, allocations: 191.8 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1348, allocations: 286.8 kB / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.135, allocations: 72.61 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1351, allocations: 107.6 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1353, allocations: 147.3 kB / 0.6842 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1354, allocations: 16 kB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.1357, allocations: 295.6 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1358, allocations: 51.77 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1359, allocations: 115.3 kB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1363, allocations: 326.9 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1363, allocations: 0 / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1363, allocations: 0 / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1363, allocations: 3.938 kB / 0.685 GB, free: 11.71 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.0009926/0.1373, allocations: 0.6193 MB / 0.6856 GB, free: 11.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1373, allocations: 16.03 kB / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.1374, allocations: 46.73 kB / 0.6857 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.1376, allocations: 44.48 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1379, allocations: 271.5 kB / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1379, allocations: 16.66 kB / 0.686 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.138, allocations: 12.38 kB / 0.686 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.1385, allocations: 232.7 kB / 0.6862 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1385, allocations: 0 / 0.6862 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1385, allocations: 8 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1385, allocations: 4 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.1392, allocations: 207.7 kB / 0.6864 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1402, allocations: 0.9384 MB / 0.6874 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.141, allocations: 241.2 kB / 0.6876 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.1413, allocations: 113.5 kB / 0.6877 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1414, allocations: 0 / 0.6877 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1414, allocations: 42.5 kB / 0.6877 GB, free: 8.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 9.91e-07/0.1414, allocations: 0 / 0.6877 GB, free: 8.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001138/0.1425, allocations: 337.4 kB / 0.6881 GB, free: 8.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1426, allocations: 81.11 kB / 0.6881 GB, free: 8.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.1428, allocations: 263 kB / 0.6884 GB, free: 8.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1429, allocations: 29.7 kB / 0.6884 GB, free: 7.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.143, allocations: 160.1 kB / 0.6886 GB, free: 7.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.143, allocations: 55.2 kB / 0.6886 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.1431, allocations: 37.7 kB / 0.6887 GB, free: 7.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.1432, allocations: 342.8 kB / 0.689 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1435, allocations: 87.91 kB / 0.6891 GB, free: 7.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.1439, allocations: 147.5 kB / 0.6892 GB, free: 7.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.1445, allocations: 237.7 kB / 0.6894 GB, free: 6.863 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1445, allocations: 0 / 0.6894 GB, free: 6.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008175/0.1454, allocations: 296.9 kB / 0.6897 GB, free: 6.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1454, allocations: 7.938 kB / 0.6897 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1454, allocations: 8 kB / 0.6897 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1454, allocations: 4.156 kB / 0.6897 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.1457, allocations: 67.88 kB / 0.6898 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1457, allocations: 4 kB / 0.6898 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1459, allocations: 39.72 kB / 0.6898 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.146, allocations: 8 kB / 0.6898 GB, free: 6.43 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 0.0001028/0.1461, allocations: 127.2 kB / 0.69 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1462, allocations: 35.59 kB / 0.69 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/0.147, allocations: 287.9 kB / 0.6903 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.147, allocations: 4 kB / 0.6903 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.147, allocations: 0 / 0.6903 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.147, allocations: 3.984 kB / 0.6903 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1474, allocations: 293.3 kB / 0.6906 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1474, allocations: 7.938 kB / 0.6906 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.1476, allocations: 51.95 kB / 0.6906 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1476, allocations: 4 kB / 0.6906 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1477, allocations: 4 kB / 0.6906 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1477, allocations: 3.984 kB / 0.6906 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1477, allocations: 0 / 0.6906 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.1485, allocations: 450.2 kB / 0.6911 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.1486, allocations: 104.7 kB / 0.6912 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.1486, allocations: 4 kB / 0.6912 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.1489, allocations: 27.95 kB / 0.6912 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1489, allocations: 16.27 kB / 0.6912 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.149, allocations: 8 kB / 0.6912 GB, free: 4.926 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1491, allocations: 190 kB / 0.6914 GB, free: 4.742 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1491, allocations: 3.938 kB / 0.6914 GB, free: 4.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1495, allocations: 55.98 kB / 0.6915 GB, free: 4.684 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.001094/0.1506, allocations: 0.9939 MB / 0.6924 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007298/0.1513, allocations: 235.6 kB / 0.6926 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1513, allocations: 0 / 0.6926 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.1517, allocations: 116.2 kB / 0.6928 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1522, allocations: 78.06 kB / 0.6928 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.1559, allocations: 2.707 MB / 0.6955 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1562, allocations: 0.7558 MB / 0.6962 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.1563, allocations: 30.42 kB / 0.6962 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1565, allocations: 91.41 kB / 0.6963 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1565, allocations: 0 / 0.6963 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.016/1.173, allocations: 6.495 MB / 0.7027 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/9.785, allocations: 9 kB / 0.7027 GB, free: 9.223 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)