Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",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.742/0.742, 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.0009946/0.0009947, allocations: 188.3 kB / 187.3 MB, free: 11.87 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.327/1.327, allocations: 221.3 MB / 441.4 MB, free: 4.656 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.0009038/0.0009038, allocations: 92.17 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 271.9 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.965e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3969, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.5076, allocations: 110.2 MB / 0.8719 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5079, allocations: 71.95 kB / 0.872 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009265/0.5172, allocations: 3.156 MB / 0.8751 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5173, allocations: 4 kB / 0.8751 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5173, allocations: 0 / 0.8751 GB, free: 11.13 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.0003393/0.5176, allocations: 362.4 kB / 0.8754 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5177, allocations: 8.031 kB / 0.8754 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.5177, allocations: 30.56 kB / 0.8755 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.5178, allocations: 4 kB / 0.8755 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5179, allocations: 167 kB / 0.8756 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.5179, allocations: 4 kB / 0.8756 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.5179, allocations: 8 kB / 0.8756 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.518, allocations: 41.69 kB / 0.8757 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.518, allocations: 3.984 kB / 0.8757 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.518, allocations: 7.922 kB / 0.8757 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.518, allocations: 0 / 0.8757 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.5181, allocations: 23.98 kB / 0.8757 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.5183, allocations: 169.6 kB / 0.8759 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.5183, allocations: 38.58 kB / 0.8759 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.5184, allocations: 12.98 kB / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.5185, allocations: 89.09 kB / 0.876 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5185, allocations: 30.56 kB / 0.876 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.5186, allocations: 0 / 0.876 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001506/0.5187, allocations: 61.62 kB / 0.8761 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.5188, allocations: 51.41 kB / 0.8762 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.094e-05/0.5188, allocations: 89 kB / 0.8762 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.5188, allocations: 29.7 kB / 0.8763 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.5189, allocations: 80.14 kB / 0.8763 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.5189, allocations: 19.78 kB / 0.8764 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.5189, allocations: 0 / 0.8764 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.519, allocations: 314.8 kB / 0.8767 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.5191, allocations: 8 kB / 0.8767 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.5191, allocations: 4 kB / 0.8767 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.5191, allocations: 12.5 kB / 0.8767 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5191, allocations: 8.062 kB / 0.8767 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.724e-05/0.5192, allocations: 61.58 kB / 0.8768 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5192, allocations: 5.094 kB / 0.8768 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5192, allocations: 0 / 0.8768 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5193, allocations: 0 / 0.8768 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.5193, allocations: 15.92 kB / 0.8768 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5194, allocations: 0 / 0.8768 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.5194, allocations: 7.844 kB / 0.8768 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.5194, allocations: 4 kB / 0.8768 GB, free: 9.156 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 6.294e-05/0.5195, allocations: 109 kB / 0.8769 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.5195, allocations: 7.953 kB / 0.8769 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.5197, allocations: 77.17 kB / 0.877 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5197, allocations: 4 kB / 0.877 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5197, allocations: 0 / 0.877 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5197, allocations: 3.984 kB / 0.877 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.5198, allocations: 165.6 kB / 0.8771 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5198, allocations: 320 / 0.8771 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.5199, allocations: 12 kB / 0.8771 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5199, allocations: 3.953 kB / 0.8772 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.5199, allocations: 4 kB / 0.8772 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5199, allocations: 0 / 0.8772 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5199, allocations: 0 / 0.8772 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.52, allocations: 89.05 kB / 0.8772 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.5201, allocations: 77.11 kB / 0.8773 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.5201, allocations: 11.95 kB / 0.8773 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.5201, allocations: 0 / 0.8773 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.5201, allocations: 4 kB / 0.8773 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5202, allocations: 0 / 0.8773 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.5202, allocations: 79.28 kB / 0.8774 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5202, allocations: 0 / 0.8774 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002521/0.5205, allocations: 55.92 kB / 0.8775 GB, free: 8.371 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.0005243/0.521, allocations: 0.6847 MB / 0.8781 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.5211, allocations: 24 kB / 0.8781 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5211, allocations: 0 / 0.8781 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.5211, allocations: 19.94 kB / 0.8782 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.765e-05/0.5212, allocations: 11.94 kB / 0.8782 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.5215, allocations: 122.8 kB / 0.8783 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.5218, allocations: 0.6848 MB / 0.879 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.5219, allocations: 18.94 kB / 0.879 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.5219, allocations: 11.44 kB / 0.879 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5219, allocations: 0 / 0.879 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.5345, allocations: 1.835 MB / 0.8808 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.5348, allocations: 178.2 kB / 0.881 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.004, allocations: 5.828 kB / 0.881 GB, free: 4.797 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)