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.8712/0.8712, allocations: 143.3 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 175.1 kB / 191.5 MB, free: 5.773 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.59/1.59, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009288/0.000929, allocations: 87.83 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 271.3 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 15.59 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1743, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6062/0.7805, allocations: 109.9 MB / 0.8811 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.7808, allocations: 73.8 kB / 0.8812 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008118/0.789, allocations: 2.588 MB / 0.8837 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.394e-06/0.789, allocations: 0 / 0.8837 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.789, allocations: 0 / 0.8837 GB, free: 31.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.0002833/0.7893, allocations: 351.6 kB / 0.8841 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.7894, allocations: 11.56 kB / 0.8841 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.7894, allocations: 33.61 kB / 0.8841 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.7894, allocations: 0.7812 kB / 0.8841 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.7896, allocations: 177.6 kB / 0.8843 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.7896, allocations: 0 / 0.8843 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.7896, allocations: 6.125 kB / 0.8843 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.7897, allocations: 42.8 kB / 0.8843 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.7897, allocations: 4 kB / 0.8843 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.7897, allocations: 0 / 0.8843 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7898, allocations: 0 / 0.8843 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.7898, allocations: 24.5 kB / 0.8844 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.79, allocations: 162.2 kB / 0.8845 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.49e-05/0.7901, allocations: 39.56 kB / 0.8846 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.7904, allocations: 182.3 kB / 0.8847 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.7904, allocations: 34.56 kB / 0.8848 GB, free: 29.92 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.7905, allocations: 2.938 kB / 0.8848 GB, free: 29.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001881/0.7907, allocations: 58.45 kB / 0.8848 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.7907, allocations: 57.23 kB / 0.8849 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.7907, allocations: 87.44 kB / 0.885 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.7908, allocations: 33.27 kB / 0.885 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.7908, allocations: 86.16 kB / 0.8851 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.7908, allocations: 10.75 kB / 0.8851 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.7908, allocations: 4 kB / 0.8851 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.7909, allocations: 317.4 kB / 0.8854 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.7909, allocations: 5.062 kB / 0.8854 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.791, allocations: 8.562 kB / 0.8854 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.791, allocations: 12.16 kB / 0.8854 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.791, allocations: 0 / 0.8854 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.26e-05/0.7911, allocations: 61.92 kB / 0.8855 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7911, allocations: 5.406 kB / 0.8855 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.7911, allocations: 0 / 0.8855 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.7911, allocations: 4 kB / 0.8855 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.7912, allocations: 11.25 kB / 0.8855 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7912, allocations: 1.375 kB / 0.8855 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.7913, allocations: 10.14 kB / 0.8855 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.7913, allocations: 0 / 0.8855 GB, free: 29.25 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.7914, allocations: 116.8 kB / 0.8856 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.7914, allocations: 6.891 kB / 0.8856 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.7916, allocations: 79.39 kB / 0.8857 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7916, allocations: 2.953 kB / 0.8857 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7916, allocations: 0 / 0.8857 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.7916, allocations: 0 / 0.8857 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.722e-05/0.7917, allocations: 165.9 kB / 0.8859 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7917, allocations: 1.125 kB / 0.8859 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.7918, allocations: 13.8 kB / 0.8859 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.7918, allocations: 2.344 kB / 0.8859 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.7918, allocations: 6.766 kB / 0.8859 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7918, allocations: 0 / 0.8859 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7918, allocations: 5.547 kB / 0.8859 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.7919, allocations: 82.47 kB / 0.886 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.7919, allocations: 81 kB / 0.886 GB, free: 28.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.792, allocations: 0 / 0.886 GB, free: 28.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.805e-05/0.792, allocations: 3.953 kB / 0.886 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.792, allocations: 6.656 kB / 0.8861 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.792, allocations: 3.703 kB / 0.8861 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.494e-05/0.7921, allocations: 86.69 kB / 0.8861 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7921, allocations: 0 / 0.8861 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002499/0.7923, allocations: 41.78 kB / 0.8862 GB, free: 28.62 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 () * 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 (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.001731/0.794, allocations: 0.6696 MB / 0.8868 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.7942, allocations: 22.83 kB / 0.8869 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7942, allocations: 4.094 kB / 0.8869 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.7942, allocations: 22.62 kB / 0.8869 GB, free: 44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.7944, allocations: 5.266 kB / 0.8869 GB, free: 44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.7949, allocations: 194.1 kB / 0.8871 GB, free: 43.83 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.7952, allocations: 0.6792 MB / 0.8877 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.7952, allocations: 11.05 kB / 0.8877 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.7953, allocations: 15.09 kB / 0.8878 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.7953, allocations: 0 / 0.8878 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.8099, allocations: 1.897 MB / 0.8896 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.8101, allocations: 214.7 kB / 0.8898 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.55, allocations: 0 / 0.8898 GB, free: 42.68 MB / 0.5573 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)