Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",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.000769/0.000769, 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.005154/0.005154, allocations: 171.4 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 275 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8958/0.8958, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 13.34 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001227/0.1345, allocations: 0.9803 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1356, allocations: 0.7023 MB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.1356, allocations: 4 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.1356, allocations: 0.5 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.1357, allocations: 4.438 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.136, allocations: 101.6 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.1361, allocations: 27.91 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1361, allocations: 0 / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.1362, allocations: 21.2 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.1362, allocations: 8 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1363, allocations: 4 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.1365, allocations: 156.6 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1365, allocations: 9.109 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.1366, allocations: 37.69 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1367, allocations: 104 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1368, allocations: 0.5625 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1368, allocations: 0 / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1368, allocations: 0.625 kB / 0.6873 GB, free: 12.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003004/0.1371, allocations: 340.2 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1371, allocations: 14.03 kB / 0.6877 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.1372, allocations: 38.67 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.1372, allocations: 4.844 kB / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.1e-05/0.1373, allocations: 172.3 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1373, allocations: 384 / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1373, allocations: 5.016 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.1374, allocations: 48.19 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1374, allocations: 0 / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.1374, allocations: 0 / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1374, allocations: 4 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.941e-05/0.1375, allocations: 23.97 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.1376, allocations: 159.8 kB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.1377, allocations: 38.56 kB / 0.6881 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.1377, allocations: 16.98 kB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.1381, allocations: 186.9 kB / 0.6883 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1381, allocations: 36.22 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.1381, allocations: 0 / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001632/0.1383, allocations: 65.88 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.1383, allocations: 51.41 kB / 0.6885 GB, free: 11.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/0.1384, allocations: 98.72 kB / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1384, allocations: 30.36 kB / 0.6886 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.1384, allocations: 88.55 kB / 0.6887 GB, free: 11.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1385, allocations: 16.97 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.1385, allocations: 13.72 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.1386, allocations: 314.8 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.1386, allocations: 4.844 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.1386, allocations: 12 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.1387, allocations: 28.97 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1387, allocations: 0 / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.148e-05/0.1388, allocations: 61.55 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1388, allocations: 4 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1388, allocations: 3.984 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1388, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.1389, allocations: 11.94 kB / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1389, allocations: 0 / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.1389, allocations: 0 / 0.6891 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1389, allocations: 4 kB / 0.6891 GB, free: 10.68 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 (5): * Single equations (assignments): 5 * 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.048e-05/0.139, allocations: 119.1 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.139, allocations: 7.938 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.1392, allocations: 73.23 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1392, allocations: 0 / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1392, allocations: 0 / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1392, allocations: 3.984 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.889e-05/0.1393, allocations: 173.4 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1393, allocations: 4 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.1394, allocations: 11.94 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1394, allocations: 4 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1394, allocations: 0 / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1394, allocations: 0 / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1394, allocations: 320 / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.1395, allocations: 93.11 kB / 0.6896 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.1395, allocations: 81.05 kB / 0.6897 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.1396, allocations: 4 kB / 0.6897 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.1396, allocations: 4 kB / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.1396, allocations: 4 kB / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1396, allocations: 3.938 kB / 0.6897 GB, free: 10 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.1396, allocations: 83.27 kB / 0.6898 GB, free: 9.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1396, allocations: 0 / 0.6898 GB, free: 9.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1399, allocations: 35.94 kB / 0.6898 GB, free: 9.887 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.0003987/0.1403, allocations: 0.6554 MB / 0.6904 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.1404, allocations: 27.92 kB / 0.6905 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1404, allocations: 4 kB / 0.6905 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.1404, allocations: 12 kB / 0.6905 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1405, allocations: 8.734 kB / 0.6905 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.1409, allocations: 180.5 kB / 0.6907 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.1411, allocations: 0.6848 MB / 0.6913 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.893e-05/0.1411, allocations: 15.91 kB / 0.6914 GB, free: 8.207 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1411, allocations: 15.44 kB / 0.6914 GB, free: 8.191 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1412, allocations: 0 / 0.6914 GB, free: 8.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.1517, allocations: 2.022 MB / 0.6933 GB, free: 6.34 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.1519, allocations: 226.2 kB / 0.6936 GB, free: 6.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.657, allocations: 6.438 kB / 0.6936 GB, free: 6.078 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)