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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009053/0.009054, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002149/0.002149, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 286 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.264/1.264, allocations: 178.6 MB / 0.5074 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 104.2 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5055, allocations: 89.12 MB / 0.7813 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002075/0.5076, allocations: 1.262 MB / 0.7825 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.509, allocations: 0.8705 MB / 0.7834 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.509, allocations: 0 / 0.7834 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.509, allocations: 0 / 0.7834 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.5091, allocations: 5.125 kB / 0.7834 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.5096, allocations: 135.2 kB / 0.7835 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.5096, allocations: 26.86 kB / 0.7835 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.5097, allocations: 6.797 kB / 0.7835 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.5098, allocations: 23.02 kB / 0.7836 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.5099, allocations: 14.39 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.5099, allocations: 1.344 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.5102, allocations: 164.3 kB / 0.7837 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.5102, allocations: 1.562 kB / 0.7837 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.5103, allocations: 11.38 kB / 0.7838 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.5105, allocations: 123.2 kB / 0.7839 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5105, allocations: 3.938 kB / 0.7839 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5105, allocations: 1.812 kB / 0.7839 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5105, allocations: 4 kB / 0.7839 GB, free: 15.16 MB / 0.5606 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.0004468/0.511, allocations: 360.2 kB / 0.7842 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.511, allocations: 8.125 kB / 0.7842 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.5111, allocations: 32.25 kB / 0.7843 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.5111, allocations: 2.25 kB / 0.7843 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.5113, allocations: 165.5 kB / 0.7844 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5113, allocations: 5.5 kB / 0.7844 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.5113, allocations: 1.5 kB / 0.7844 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5114, allocations: 49.8 kB / 0.7845 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5115, allocations: 9.109 kB / 0.7845 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.5115, allocations: 0 / 0.7845 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5115, allocations: 1.125 kB / 0.7845 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.5115, allocations: 22.39 kB / 0.7845 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.5117, allocations: 159.8 kB / 0.7847 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.5118, allocations: 41.94 kB / 0.7847 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.5119, allocations: 15.42 kB / 0.7847 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.512, allocations: 95.33 kB / 0.7848 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.5121, allocations: 35.94 kB / 0.7848 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.5121, allocations: 0 / 0.7848 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001962/0.5123, allocations: 69.8 kB / 0.7849 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.5123, allocations: 51.41 kB / 0.785 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.5124, allocations: 96.53 kB / 0.785 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.5124, allocations: 30.92 kB / 0.7851 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.5125, allocations: 84.2 kB / 0.7852 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.5125, allocations: 17.94 kB / 0.7852 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.5126, allocations: 18.28 kB / 0.7852 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5127, allocations: 316.2 kB / 0.7855 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.5127, allocations: 5.156 kB / 0.7855 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.5127, allocations: 13.81 kB / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/0.5128, allocations: 30.22 kB / 0.7855 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5128, allocations: 0 / 0.7855 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.916e-05/0.5129, allocations: 59.72 kB / 0.7856 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5129, allocations: 9 kB / 0.7856 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.513, allocations: 1.312 kB / 0.7856 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.513, allocations: 0 / 0.7856 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.5131, allocations: 11.44 kB / 0.7856 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5131, allocations: 1.125 kB / 0.7856 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.5131, allocations: 5.266 kB / 0.7856 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.5131, allocations: 1.344 kB / 0.7856 GB, free: 13.3 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/0.5132, allocations: 115.3 kB / 0.7857 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.5132, allocations: 5.594 kB / 0.7857 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.5134, allocations: 80.05 kB / 0.7858 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5134, allocations: 1.531 kB / 0.7858 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5134, allocations: 0 / 0.7858 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5134, allocations: 0 / 0.7858 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.5136, allocations: 161.3 kB / 0.786 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5136, allocations: 3.938 kB / 0.786 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.5136, allocations: 14.06 kB / 0.786 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5136, allocations: 7.984 kB / 0.786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5137, allocations: 5.125 kB / 0.786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5137, allocations: 0 / 0.786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5137, allocations: 1.312 kB / 0.786 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.5138, allocations: 87.36 kB / 0.7861 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.5139, allocations: 82.33 kB / 0.7862 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.5139, allocations: 5.531 kB / 0.7862 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.5139, allocations: 0 / 0.7862 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.5139, allocations: 10.77 kB / 0.7862 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.5139, allocations: 1.531 kB / 0.7862 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.514, allocations: 81.44 kB / 0.7863 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.514, allocations: 0 / 0.7863 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002513/0.5142, allocations: 54.08 kB / 0.7863 GB, free: 12.62 MB / 0.5606 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 (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.0005785/0.5148, allocations: 0.6792 MB / 0.787 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.515, allocations: 33.58 kB / 0.787 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.515, allocations: 1.469 kB / 0.787 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.515, allocations: 18.73 kB / 0.787 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.5151, allocations: 5.938 kB / 0.787 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.5156, allocations: 181.1 kB / 0.7872 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.5159, allocations: 0.682 MB / 0.7879 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.5159, allocations: 14.36 kB / 0.7879 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.516, allocations: 12.12 kB / 0.7879 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.516, allocations: 0 / 0.7879 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.5388, allocations: 2.13 MB / 0.79 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.475, allocations: 12.36 kB / 0.79 GB, free: 9.898 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1)