Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.0008839/0.0008839, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004871/0.004871, allocations: 170 kB / 16.27 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 274.8 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8604/0.8604, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 15.97 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001362/0.1301, allocations: 1.29 MB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1313, allocations: 0.9081 MB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.1313, allocations: 1.562 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.1313, allocations: 0 / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1315, allocations: 23.78 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1317, allocations: 104.2 kB / 0.6875 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1319, allocations: 71.66 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.1319, allocations: 16.27 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.132, allocations: 23.92 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1321, allocations: 40.27 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1321, allocations: 4 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.1325, allocations: 280.2 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.1325, allocations: 12.48 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1325, allocations: 53.5 kB / 0.688 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1327, allocations: 149.7 kB / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1327, allocations: 0 / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1328, allocations: 4 kB / 0.6881 GB, free: 11.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1328, allocations: 0 / 0.6881 GB, free: 11.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004166/0.1332, allocations: 393.7 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1332, allocations: 12.03 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.1333, allocations: 30.75 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.572e-05/0.1334, allocations: 13.5 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1335, allocations: 196.1 kB / 0.6887 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-06/0.1335, allocations: 2.531 kB / 0.6887 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1335, allocations: 8.375 kB / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1337, allocations: 69.73 kB / 0.6888 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1337, allocations: 6.359 kB / 0.6888 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1337, allocations: 3.938 kB / 0.6888 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1337, allocations: 3.984 kB / 0.6888 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1339, allocations: 48.75 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.1342, allocations: 290.8 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1344, allocations: 64.55 kB / 0.6892 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.1345, allocations: 36.97 kB / 0.6893 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1345, allocations: 0 / 0.6893 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1345, allocations: 34.56 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.1345, allocations: 3.938 kB / 0.6893 GB, free: 10.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003291/0.1348, allocations: 121.5 kB / 0.6894 GB, free: 10.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1349, allocations: 51.41 kB / 0.6895 GB, free: 10.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.135, allocations: 136 kB / 0.6896 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.135, allocations: 29.7 kB / 0.6896 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.135, allocations: 92.2 kB / 0.6897 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1351, allocations: 23.64 kB / 0.6897 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.1351, allocations: 13.72 kB / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.1352, allocations: 326.8 kB / 0.6901 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.1353, allocations: 27.97 kB / 0.6901 GB, free: 9.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.1353, allocations: 23.98 kB / 0.6901 GB, free: 9.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1355, allocations: 64.83 kB / 0.6902 GB, free: 9.688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1355, allocations: 0 / 0.6902 GB, free: 9.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002034/0.1357, allocations: 94.05 kB / 0.6903 GB, free: 9.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.1357, allocations: 4 kB / 0.6903 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1357, allocations: 0 / 0.6903 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.1357, allocations: 4 kB / 0.6903 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1359, allocations: 23.98 kB / 0.6903 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1359, allocations: 4 kB / 0.6903 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.1359, allocations: 11.89 kB / 0.6903 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1359, allocations: 0 / 0.6903 GB, free: 9.543 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 6.427e-05/0.136, allocations: 119.1 kB / 0.6904 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.1361, allocations: 7.906 kB / 0.6904 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.1363, allocations: 113.9 kB / 0.6905 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1363, allocations: 4 kB / 0.6905 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1363, allocations: 3.938 kB / 0.6905 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1363, allocations: 0 / 0.6905 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1365, allocations: 181.6 kB / 0.6907 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1365, allocations: 4 kB / 0.6907 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.044e-05/0.1366, allocations: 15.98 kB / 0.6907 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1366, allocations: 4 kB / 0.6907 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1366, allocations: 0 / 0.6907 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1366, allocations: 0 / 0.6907 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1366, allocations: 0 / 0.6907 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1368, allocations: 203.3 kB / 0.6909 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1369, allocations: 88.95 kB / 0.691 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1369, allocations: 7.922 kB / 0.691 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.137, allocations: 4 kB / 0.691 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.137, allocations: 7.984 kB / 0.691 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.137, allocations: 3.938 kB / 0.691 GB, free: 8.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.1371, allocations: 105.5 kB / 0.6911 GB, free: 8.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1371, allocations: 4 kB / 0.6911 GB, free: 8.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1373, allocations: 20 kB / 0.6912 GB, free: 8.562 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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.000483/0.1378, allocations: 0.7398 MB / 0.6919 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.138, allocations: 71.95 kB / 0.6919 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.138, allocations: 0 / 0.6919 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.1381, allocations: 35.98 kB / 0.692 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1384, allocations: 12.73 kB / 0.692 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1397, allocations: 1.501 MB / 0.6935 GB, free: 6.105 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.1399, allocations: 0.6888 MB / 0.6941 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.415e-05/0.1399, allocations: 11.97 kB / 0.6941 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.14, allocations: 23.44 kB / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.14, allocations: 0 / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4703/0.6103, allocations: 2.048 MB / 0.6962 GB, free: 3.492 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.6106, allocations: 221.4 kB / 0.6964 GB, free: 3.242 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.124, allocations: 5.938 kB / 0.6964 GB, free: 3.238 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)