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.001324/0.001324, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001254/0.001254, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 274.8 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8717/0.8717, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 91.5 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1283, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002057/0.1304, allocations: 1.306 MB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1314, allocations: 0.7173 MB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.1315, allocations: 4 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.1315, allocations: 3.984 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.1315, allocations: 7.938 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1318, allocations: 95.81 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.809e-05/0.1319, allocations: 19.94 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.1319, allocations: 3.984 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.132, allocations: 23.86 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.1321, allocations: 7.984 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1321, allocations: 4 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.1323, allocations: 159.8 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1324, allocations: 7.938 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.1324, allocations: 4 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1326, allocations: 112 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1326, allocations: 0 / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1326, allocations: 0 / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1326, allocations: 0 / 0.6819 GB, free: 14.62 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.0003209/0.1329, allocations: 345.4 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1329, allocations: 12.03 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.133, allocations: 38.69 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.133, allocations: 8.844 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.1331, allocations: 168.3 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1331, allocations: 4.375 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.1331, allocations: 384 / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.1332, allocations: 49.81 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.1332, allocations: 0 / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.1332, allocations: 0 / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1333, allocations: 0 / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.1333, allocations: 27.98 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.1335, allocations: 157.7 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.1335, allocations: 42.56 kB / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.1336, allocations: 20.97 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.1339, allocations: 186.2 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1339, allocations: 38.5 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.134, allocations: 0 / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001494/0.1341, allocations: 61.69 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1341, allocations: 55.34 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/0.1342, allocations: 97.8 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1342, allocations: 29.7 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.1342, allocations: 80.14 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1343, allocations: 15.73 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1343, allocations: 25.84 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.1344, allocations: 310.8 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.1344, allocations: 11.98 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.1345, allocations: 4 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.1345, allocations: 24.86 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1345, allocations: 4 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.215e-05/0.1346, allocations: 57.53 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1346, allocations: 4 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1346, allocations: 7.938 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1347, allocations: 4 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.1347, allocations: 16.42 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1347, allocations: 0 / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.1348, allocations: 4 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1348, allocations: 4 kB / 0.6838 GB, free: 12.48 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.485e-05/0.1348, allocations: 115.1 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1349, allocations: 7.922 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.135, allocations: 77.23 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.135, allocations: 11.88 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.135, allocations: 0 / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.135, allocations: 0 / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.929e-05/0.1352, allocations: 169.6 kB / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1352, allocations: 0 / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.1352, allocations: 11.94 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1352, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.1352, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1352, allocations: 4 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1352, allocations: 4 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.791e-05/0.1353, allocations: 81.12 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.1354, allocations: 89.03 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1354, allocations: 0 / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.1354, allocations: 0 / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.1354, allocations: 7.938 kB / 0.6843 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1354, allocations: 0 / 0.6843 GB, free: 11.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.1355, allocations: 83.28 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1355, allocations: 0 / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1357, allocations: 35.92 kB / 0.6844 GB, free: 11.7 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.0004148/0.1361, allocations: 0.6553 MB / 0.6851 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.1362, allocations: 28.11 kB / 0.6851 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1362, allocations: 8.094 kB / 0.6851 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.1363, allocations: 16.12 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1364, allocations: 11.33 kB / 0.6851 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.1368, allocations: 177.9 kB / 0.6853 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.137, allocations: 0.677 MB / 0.686 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.918e-05/0.137, allocations: 15.94 kB / 0.686 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.137, allocations: 15.42 kB / 0.686 GB, free: 10 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.137, allocations: 0 / 0.686 GB, free: 10 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.148, allocations: 2.094 MB / 0.6881 GB, free: 8.051 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.1482, allocations: 220.9 kB / 0.6883 GB, free: 7.797 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.743, allocations: 0 / 0.6883 GB, free: 7.797 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)