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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.732/0.732, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 179.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008962, allocations: 98.56 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 266 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.196e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4405, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.5657, allocations: 109.9 MB / 0.8717 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.566, allocations: 75.94 kB / 0.8717 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008262/0.5743, allocations: 2.569 MB / 0.8742 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5743, allocations: 0 / 0.8742 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5743, allocations: 0 / 0.8742 GB, free: 12.02 MB / 0.5417 GB 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.0003364/0.5747, allocations: 338.5 kB / 0.8746 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5747, allocations: 8.031 kB / 0.8746 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.5748, allocations: 38.56 kB / 0.8746 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.5748, allocations: 4 kB / 0.8746 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.575, allocations: 171 kB / 0.8748 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.575, allocations: 11.92 kB / 0.8748 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.575, allocations: 0 / 0.8748 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.5751, allocations: 41.69 kB / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5751, allocations: 0 / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.5751, allocations: 0 / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5751, allocations: 0 / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.5752, allocations: 23.98 kB / 0.8749 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.5754, allocations: 169.5 kB / 0.875 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.5755, allocations: 38.58 kB / 0.8751 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.5755, allocations: 16.97 kB / 0.8751 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.5758, allocations: 190.1 kB / 0.8753 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5759, allocations: 30.56 kB / 0.8753 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.5759, allocations: 0 / 0.8753 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001539/0.576, allocations: 49.69 kB / 0.8753 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.5761, allocations: 59.41 kB / 0.8754 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.5761, allocations: 89 kB / 0.8755 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.5762, allocations: 29.69 kB / 0.8755 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.5762, allocations: 84.14 kB / 0.8756 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.5762, allocations: 7.812 kB / 0.8756 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.5763, allocations: 7.938 kB / 0.8756 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5764, allocations: 310.8 kB / 0.8759 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.5764, allocations: 16.06 kB / 0.8759 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.5764, allocations: 8 kB / 0.8759 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.5765, allocations: 11.98 kB / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5765, allocations: 0 / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.848e-05/0.5766, allocations: 57.83 kB / 0.876 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5766, allocations: 8 kB / 0.876 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5766, allocations: 64 / 0.876 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5766, allocations: 4 kB / 0.876 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.5767, allocations: 8 kB / 0.876 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5767, allocations: 0 / 0.876 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.5767, allocations: 7.906 kB / 0.876 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.5767, allocations: 4 kB / 0.876 GB, free: 9.953 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.299e-05/0.5768, allocations: 108.9 kB / 0.8761 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-06/0.5768, allocations: 3.953 kB / 0.8761 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.577, allocations: 81.17 kB / 0.8762 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.577, allocations: 0 / 0.8762 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.577, allocations: 0 / 0.8762 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.577, allocations: 4 kB / 0.8762 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.5772, allocations: 157.7 kB / 0.8764 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5772, allocations: 0 / 0.8764 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.5772, allocations: 11.94 kB / 0.8764 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5772, allocations: 3.953 kB / 0.8764 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5772, allocations: 8 kB / 0.8764 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5772, allocations: 7.922 kB / 0.8764 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5773, allocations: 0 / 0.8764 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.5774, allocations: 92.97 kB / 0.8765 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.5774, allocations: 77.11 kB / 0.8765 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.5775, allocations: 3.953 kB / 0.8765 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.5775, allocations: 0 / 0.8765 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.5775, allocations: 7.984 kB / 0.8766 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.5775, allocations: 0 / 0.8766 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.5776, allocations: 83.28 kB / 0.8766 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5776, allocations: 0 / 0.8766 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002658/0.5778, allocations: 35.94 kB / 0.8767 GB, free: 9.184 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004892/0.5783, allocations: 0.6711 MB / 0.8773 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.5784, allocations: 28 kB / 0.8774 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5784, allocations: 0 / 0.8774 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.5785, allocations: 15.94 kB / 0.8774 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.52e-05/0.5786, allocations: 7.891 kB / 0.8774 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.5789, allocations: 122.8 kB / 0.8775 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.5791, allocations: 0.6848 MB / 0.8782 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.221e-05/0.5792, allocations: 15.92 kB / 0.8782 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.5792, allocations: 15.44 kB / 0.8782 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.5792, allocations: 0 / 0.8782 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.5933, allocations: 1.903 MB / 0.88 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.5936, allocations: 176.5 kB / 0.8802 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/2.019, allocations: 0 / 0.8802 GB, free: 5.586 MB / 0.5417 GB (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/linux/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)